projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4927705
)
btrfs-progs: tests: check for partscan support in misc/006-partitioned-loopdev
author
David Sterba
<dsterba@suse.com>
Wed, 30 Nov 2016 15:49:18 +0000
(16:49 +0100)
committer
David Sterba
<dsterba@suse.com>
Wed, 14 Dec 2016 14:06:35 +0000
(15:06 +0100)
The travis CI does not have losetup with --partscan, skip the check in
that case so we can still run the mkfs testsuite.
Signed-off-by: David Sterba <dsterba@suse.com>
tests/mkfs-tests/006-partitioned-loopdev/test.sh
patch
|
blob
|
history
diff --git
a/tests/mkfs-tests/006-partitioned-loopdev/test.sh
b/tests/mkfs-tests/006-partitioned-loopdev/test.sh
index
4415b46
..
12f3784
100755
(executable)
--- a/
tests/mkfs-tests/006-partitioned-loopdev/test.sh
+++ b/
tests/mkfs-tests/006-partitioned-loopdev/test.sh
@@
-3,6
+3,11
@@
source $TOP/tests/common
+if ! losetup --help | grep -q 'partscan'; then
+ _not_run "losetup --partscan not available"
+ exit 0
+fi
+
check_prereq mkfs.btrfs
setup_root_helper