[parted-devel] [PATCH 1/2] tests: skip loop-clobber-infloop if mkswap cannot be found
Otavio Salvador
otavio at ossystems.com.br
Mon Jun 28 22:52:15 UTC 2010
* tests/t0400-loop-clobber-infloop.sh: Skip the test is case of mkswap
cannot be found.
---
tests/t0400-loop-clobber-infloop.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/t0400-loop-clobber-infloop.sh b/tests/t0400-loop-clobber-infloop.sh
index 10309ec..df99b7a 100644
--- a/tests/t0400-loop-clobber-infloop.sh
+++ b/tests/t0400-loop-clobber-infloop.sh
@@ -24,6 +24,8 @@ fi
: ${srcdir=.}
. $srcdir/t-lib.sh
+( mkswap -V ) >/dev/null 2>&1 || skip_test_ "no mkswap program"
+
N=1M
dev=loop-file
fail=0
--
1.7.1.569.g6f426
More information about the parted-devel
mailing list