David Sterba
a6e5cdef43
btrfs-progs: tests: don't pass size to prepare_test_dev if not necessary
...
Most tests don't need a specific size of the test device, the default
2GiB should be fine.
Signed-off-by: David Sterba <dsterba@suse.com>
2017-11-14 15:59:00 +01:00
Misono, Tomohiro
9896b43f70
btrfs-progs: test: add new cli-test for subvol get/set-default
...
Add new test to check functionality of subvol get/set-default.
Signed-off-by: Tomohiro Misono <misono.tomohiro@jp.fujitsu.com>
[ fix style issues, add missing SUDO_HELPER ]
Signed-off-by: David Sterba <dsterba@suse.com>
2017-11-14 15:59:00 +01:00
David Sterba
a69c1917c2
btrfs-progs: tests: fsck/007 fix so check --force works
...
Signed-off-by: David Sterba <dsterba@suse.com>
2017-10-13 20:15:47 +02:00
David Sterba
67b7b4bc40
btrfs-progs: tests: fix run_mustfail in cli-tests/007-check-force
...
The sanity check in run_mustfail does not work as expected and allowed
the command to continue without the missing parameter
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196893
Signed-off-by: David Sterba <dsterba@suse.com>
2017-09-25 15:17:06 +02:00
David Sterba
a36d92cb8b
btrfs-progs: tests: add test for check --force
...
Basic test of the --force functionality, on an empty filesystem.
Signed-off-by: David Sterba <dsterba@suse.com>
2017-09-08 16:15:05 +02:00
David Sterba
b7eb8f7650
btrfs-progs: tests: use TEST_DEV in cli-tests
...
IMAGE points to the fallback image, tests should use TEST_DEV.
Signed-off-by: David Sterba <dsterba@suse.com>
2017-03-16 17:02:44 +01:00
David Sterba
78e1787c55
btrfs-progs: tests: use built binaries for 004-send-parent-multi-subvol
...
Signed-off-by: David Sterba <dsterba@suse.com>
2017-01-27 12:20:43 +01:00
David Sterba
2182142471
btrfs-progs: tests: add variable quotation to cli-tests
...
Signed-off-by: David Sterba <dsterba@suse.com>
2017-01-27 12:20:43 +01:00
Tsutomu Itoh
55e3a60195
btrfs-progs: tests: add test for --sync option of qgroup show
...
Simple test script for the following patch.
btrfs-progs: qgroup: add sync option to 'qgroup show'
Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2017-01-27 12:20:42 +01:00
David Sterba
0e95fff4ff
btrfs-progs: tests: 005-qgroup-show
...
Signed-off-by: David Sterba <dsterba@suse.com>
2017-01-25 09:48:00 +01:00
David Sterba
26ad474e16
btrfs-progs: tests: add more gobal option to test 001-btrfs
...
Signed-off-by: David Sterba <dsterba@suse.com>
2016-12-14 15:06:34 +01:00
David Sterba
29a1a78aaa
btrfs-progs: tests: add test for multi-subvolume send from parent
...
Fixed by "btrfs-progs: send: fix handling of multiple snapshots (-p
option)".
Signed-off-by: David Sterba <dsterba@suse.com>
2016-11-09 13:47:30 +01:00
David Sterba
81b427afcf
btrfs-progs: tests: add 003-fi-resize-args
...
Check various resize option combinations.
Signed-off-by: David Sterba <dsterba@suse.com>
2016-06-17 17:02:12 +02:00
David Sterba
0121270a79
btrfs-progs: tests: add 002-balance-full-no-filters
...
Coverage of new balance option --full-balance.
Signed-off-by: David Sterba <dsterba@suse.com>
2016-05-02 14:59:48 +02:00
David Sterba
d75f0c12d2
btrfs-progs: tests: add support for command line coverage tests
...
Signed-off-by: David Sterba <dsterba@suse.com>
2016-05-02 14:39:46 +02:00