Displaying 20 results from an estimated 27 matches for "filesanddirs".
2015 Jun 10
2
[PATCH] New API: btrfs_replace_start
...uot; /
btrfs-device-add "/dev/sdb1" /
btrfs-device-delete "/dev/sdc1 /dev/sdd1" /
+btrfs-replace-start "/dev/sda1" "/dev/sdd1" / force:true
+btrfs-replace-start "/dev/sdd1" "/dev/sda1" / force:true
mkdir /data2
tar-in $srcdir/../data/filesanddirs-10M.tar.xz /data2 compress:xz
@@ -74,6 +76,8 @@ btrfs-device-add "/dev/sdc1 /dev/sdd1" /
btrfs-device-delete "/dev/sdb1" /
btrfs-device-add "/dev/sdb1" /
btrfs-device-delete "/dev/sdc1 /dev/sdd1" /
+btrfs-replace-start "/dev/sda1" "/dev/sdd1...
2015 Jun 12
2
Re: [PATCH] New API: btrfs_replace_start
...dev/sdd1" /
>>>> +btrfs-replace-start "/dev/sda1" "/dev/sdd1" / force:true
>>>> +btrfs-replace-start "/dev/sdd1" "/dev/sda1" / force:true
>>>>
>>>> mkdir /data2
>>>> tar-in $srcdir/../data/filesanddirs-10M.tar.xz /data2 compress:xz
>>>> @@ -74,6 +76,8 @@ btrfs-device-add "/dev/sdc1 /dev/sdd1" /
>>>> btrfs-device-delete "/dev/sdb1" /
>>>> btrfs-device-add "/dev/sdb1" /
>>>> btrfs-device-delete "/dev/sdc1 /d...
2015 Jun 12
2
Re: [PATCH] New API: btrfs_replace_start
...t; btrfs-device-delete "/dev/sdc1 /dev/sdd1" /
>> +btrfs-replace-start "/dev/sda1" "/dev/sdd1" / force:true
>> +btrfs-replace-start "/dev/sdd1" "/dev/sda1" / force:true
>>
>> mkdir /data2
>> tar-in $srcdir/../data/filesanddirs-10M.tar.xz /data2 compress:xz
>> @@ -74,6 +76,8 @@ btrfs-device-add "/dev/sdc1 /dev/sdd1" /
>> btrfs-device-delete "/dev/sdb1" /
>> btrfs-device-add "/dev/sdb1" /
>> btrfs-device-delete "/dev/sdc1 /dev/sdd1" /
>> +btrfs-rep...
2015 Jun 24
2
[PATCH v3] New API: btrfs_replace
...uot;
+ exit 77
+fi
+
+rm -f test-btrfs-devices-{1,2}.img replace.output
+
+guestfish <<EOF > replace.output
+# Add 2 empty disks
+sparse test-btrfs-devices-1.img 1G
+sparse test-btrfs-devices-2.img 1G
+run
+
+mkfs-btrfs /dev/sda
+mount /dev/sda /
+
+mkdir /data
+copy-in $srcdir/../data/filesanddirs-10M.tar.xz /data
+
+# now, sda is btrfs while sdb is blank.
+btrfs-replace /dev/sda /dev/sdb /
+
+# after replace: sda is wiped out, while sdb has btrfs with data
+list-filesystems
+ls /data/
+
+EOF
+
+if [ "$(cat replace.output)" != "/dev/sda: unknown
+/dev/sdb: btrfs
+filesanddirs-...
2015 Jun 11
0
Re: [PATCH] New API: btrfs_replace_start
...;/dev/sdb1" /
> btrfs-device-delete "/dev/sdc1 /dev/sdd1" /
> +btrfs-replace-start "/dev/sda1" "/dev/sdd1" / force:true
> +btrfs-replace-start "/dev/sdd1" "/dev/sda1" / force:true
>
> mkdir /data2
> tar-in $srcdir/../data/filesanddirs-10M.tar.xz /data2 compress:xz
> @@ -74,6 +76,8 @@ btrfs-device-add "/dev/sdc1 /dev/sdd1" /
> btrfs-device-delete "/dev/sdb1" /
> btrfs-device-add "/dev/sdb1" /
> btrfs-device-delete "/dev/sdc1 /dev/sdd1" /
> +btrfs-replace-start "/dev/s...
2015 Jun 12
0
Re: [PATCH] New API: btrfs_replace_start
...;>>> +btrfs-replace-start "/dev/sda1" "/dev/sdd1" / force:true
> >>>> +btrfs-replace-start "/dev/sdd1" "/dev/sda1" / force:true
> >>>>
> >>>> mkdir /data2
> >>>> tar-in $srcdir/../data/filesanddirs-10M.tar.xz /data2 compress:xz
> >>>> @@ -74,6 +76,8 @@ btrfs-device-add "/dev/sdc1 /dev/sdd1" /
> >>>> btrfs-device-delete "/dev/sdb1" /
> >>>> btrfs-device-add "/dev/sdb1" /
> >>>> btrfs-device-delet...
2015 Jun 12
0
Re: [PATCH] New API: btrfs_replace_start
..."/dev/sdc1 /dev/sdd1" /
> >> +btrfs-replace-start "/dev/sda1" "/dev/sdd1" / force:true
> >> +btrfs-replace-start "/dev/sdd1" "/dev/sda1" / force:true
> >>
> >> mkdir /data2
> >> tar-in $srcdir/../data/filesanddirs-10M.tar.xz /data2 compress:xz
> >> @@ -74,6 +76,8 @@ btrfs-device-add "/dev/sdc1 /dev/sdd1" /
> >> btrfs-device-delete "/dev/sdb1" /
> >> btrfs-device-add "/dev/sdb1" /
> >> btrfs-device-delete "/dev/sdc1 /dev/sdd1" /...
2015 Jun 24
0
[PATCH] New API: btrfs_replace
...uot;
+ exit 77
+fi
+
+rm -f test-btrfs-devices-{1,2}.img replace.output
+
+guestfish <<EOF > replace.output
+# Add 2 empty disks
+sparse test-btrfs-devices-1.img 1G
+sparse test-btrfs-devices-2.img 1G
+run
+
+mkfs-btrfs /dev/sda
+mount /dev/sda /
+
+mkdir /data
+copy-in $srcdir/../data/filesanddirs-10M.tar.xz /data
+
+# now, sda is btrfs while sdb is blank.
+btrfs-replace /dev/sda /dev/sdb /
+
+# after replace: sda is wiped out, while sdb has btrfs with data
+list-filesystems
+ls /data/
+
+EOF
+
+if [ "$(cat replace.output)" != "/dev/sda: unknown
+/dev/sdb: btrfs
+filesanddirs-...
2012 Aug 14
7
[PATCH 0/7] Add tar compress, numericowner, excludes flags.
https://bugzilla.redhat.com/show_bug.cgi?id=847880
https://bugzilla.redhat.com/show_bug.cgi?id=847881
This patch series adds various optional arguments to the tar-in and
tar-out commands.
Firstly (1/7) an optional "compress" flag is added to select
compression. This makes the calls tgz-in/tgz-out/txz-in/txz-out
deprecated, and expands the range of compression types available.
2015 Jun 15
2
[PATCH v2] New API: btrfs_replace
...uot;
+ exit 77
+fi
+
+rm -f test-btrfs-devices-{1,2}.img replace.output
+
+guestfish <<EOF > replace.output
+# Add 2 empty disks
+sparse test-btrfs-devices-1.img 1G
+sparse test-btrfs-devices-2.img 1G
+run
+
+mkfs-btrfs /dev/sda
+mount /dev/sda /
+
+mkdir /data
+copy-in $srcdir/../data/filesanddirs-10M.tar.xz /data
+
+# now, sda is btrfs while sdb is blank.
+btrfs-replace /dev/sda /dev/sdb /
+
+# after replace: sda is wiped out, while sdb has btrfs with data
+list-filesystems
+
+EOF
+
+if [ "$(cat replace.output)" != "/dev/sda: unknown
+/dev/sdb: btrfs" ]; then
+ echo &...
2015 Jun 17
2
Re: [PATCH v2] New API: btrfs_replace
...lt;<EOF > replace.output
>> +# Add 2 empty disks
>> +sparse test-btrfs-devices-1.img 1G
>> +sparse test-btrfs-devices-2.img 1G
>> +run
>> +
>> +mkfs-btrfs /dev/sda
>> +mount /dev/sda /
>> +
>> +mkdir /data
>> +copy-in $srcdir/../data/filesanddirs-10M.tar.xz /data
>> +
>> +# now, sda is btrfs while sdb is blank.
>> +btrfs-replace /dev/sda /dev/sdb /
>> +
>> +# after replace: sda is wiped out, while sdb has btrfs with data
>> +list-filesystems
>
> Should at this point the content of sdb be checked, to...
2012 Sep 16
3
Remaining syntax-check errors in libguestfs
...t; erlang/tests/010-load.erl
> guestfs-release-notes.txt
> html/draft.png
> logo/fish.png
> po/libguestfs.pot
> tests/data/bin-i586-dynamic
> tests/data/bin-sparc-dynamic
> tests/data/bin-win32.exe
> tests/data/bin-win64.exe
> tests/data/bin-x86_64-dynamic
> tests/data/filesanddirs-100M.tar.xz
> tests/data/filesanddirs-10M.tar.xz
> tests/data/helloworld.tar
> tests/data/helloworld.tar.gz
> tests/data/helloworld.tar.xz
> tests/data/known-4
> tests/data/known-5
> tests/data/lib-i586.so
> tests/data/lib-sparc.so
> tests/data/lib-win32.dll
> tests/da...
2014 Oct 05
0
[PATCH v5 1/7] tests: Introduce test harness for running tests.
...ssible[$i], "\n"
}
-print "\n";
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index d00400d..5c15892 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -19,52 +19,55 @@ include $(top_srcdir)/subdir-rules.mk
EXTRA_DIST = \
README-binfiles \
- filesanddirs-10M.tar.xz \
- filesanddirs-100M.tar.xz \
- helloworld.tar \
- helloworld.tar.gz \
- helloworld.tar.xz \
- mbr-ext2-empty.img.gz \
- empty known-1 known-2 known-3 known-4 known-5 \
bin-aarch64-dynamic \
bin-i586-dynamic \
bin-sparc-dynamic \
bin-win32.exe \
bin-win64.exe \
bin-x86_64-dy...
2015 Aug 06
0
[PATCH v4 01/17] tests: Introduce test harness for running tests.
...ad1 COPYRIGHT
+
+Copyright (C) 2014-2015 Red Hat Inc.
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 305136f..d379826 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -19,13 +19,6 @@ include $(top_srcdir)/subdir-rules.mk
EXTRA_DIST = \
README-binfiles \
- filesanddirs-10M.tar.xz \
- filesanddirs-100M.tar.xz \
- helloworld.tar \
- helloworld.tar.gz \
- helloworld.tar.xz \
- mbr-ext2-empty.img.gz \
- empty known-1 known-2 known-3 known-4 known-5 \
bin-aarch64-dynamic \
bin-armv7-dynamic \
bin-i586-dynamic \
@@ -37,6 +30,13 @@ EXTRA_DIST = \
bin-win32.exe \...
2015 Jun 16
0
Re: [PATCH v2] New API: btrfs_replace
...replace.output
> +
> +guestfish <<EOF > replace.output
> +# Add 2 empty disks
> +sparse test-btrfs-devices-1.img 1G
> +sparse test-btrfs-devices-2.img 1G
> +run
> +
> +mkfs-btrfs /dev/sda
> +mount /dev/sda /
> +
> +mkdir /data
> +copy-in $srcdir/../data/filesanddirs-10M.tar.xz /data
> +
> +# now, sda is btrfs while sdb is blank.
> +btrfs-replace /dev/sda /dev/sdb /
> +
> +# after replace: sda is wiped out, while sdb has btrfs with data
> +list-filesystems
Should at this point the content of sdb be checked, to see whether
the data previously...
2015 Jun 18
0
Re: [PATCH v2] New API: btrfs_replace
...gt; +# Add 2 empty disks
>>> +sparse test-btrfs-devices-1.img 1G
>>> +sparse test-btrfs-devices-2.img 1G
>>> +run
>>> +
>>> +mkfs-btrfs /dev/sda
>>> +mount /dev/sda /
>>> +
>>> +mkdir /data
>>> +copy-in $srcdir/../data/filesanddirs-10M.tar.xz /data
>>> +
>>> +# now, sda is btrfs while sdb is blank.
>>> +btrfs-replace /dev/sda /dev/sdb /
>>> +
>>> +# after replace: sda is wiped out, while sdb has btrfs with data
>>> +list-filesystems
>>
>> Should at this point t...
2015 Jun 23
1
Re: [PATCH v2] New API: btrfs_replace
...;> +sparse test-btrfs-devices-1.img 1G
>>>> +sparse test-btrfs-devices-2.img 1G
>>>> +run
>>>> +
>>>> +mkfs-btrfs /dev/sda
>>>> +mount /dev/sda /
>>>> +
>>>> +mkdir /data
>>>> +copy-in $srcdir/../data/filesanddirs-10M.tar.xz /data
>>>> +
>>>> +# now, sda is btrfs while sdb is blank.
>>>> +btrfs-replace /dev/sda /dev/sdb /
>>>> +
>>>> +# after replace: sda is wiped out, while sdb has btrfs with data
>>>> +list-filesystems
>>>
>...
2017 Feb 20
3
[PATCH 0/3] tests: Define common test functions.
Previously I posted a work-in-progress preview of this patch series:
https://www.redhat.com/archives/libguestfs/2017-February/msg00224.html
This is the finished version that updates all of the shell-script
based tests. It passes 'make check', 'make check-direct' and
'make check-slow'.
Rich.
2014 Oct 04
4
[PATCH v4 0/4] tests: Introduce test harness for running tests.
This converts more of the tests (basically everything under tests/) to
use the test harness, revealing some problems which have subsequently
been fixed.
Rich.
2015 Nov 05
1
[PATCH 1/2] test-data: phony-guests: Don't use *.tmp.* temporary files.
---
test-data/phony-guests/Makefile.am | 3 +--
test-data/phony-guests/make-archlinux-img.sh | 4 ++--
test-data/phony-guests/make-coreos-img.sh | 10 ++++----
test-data/phony-guests/make-debian-img.sh | 10 ++++----
test-data/phony-guests/make-fedora-img.pl | 34 ++++++++++++++--------------
test-data/phony-guests/make-ubuntu-img.sh | 14 ++++++------