[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Otavio Salvador otavio at alioth.debian.org
Tue Jun 29 16:58:13 UTC 2010


 tests/t0400-loop-clobber-infloop.sh |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit dae7fe84e2049f5e35ef116ecf5b653e6781f8fd
Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Sat Jun 26 19:23:16 2010 -0300

    tests: skip loop-clobber-infloop if mkswap cannot be found
    
    * tests/t0400-loop-clobber-infloop.sh: Skip the test is case of mkswap
    cannot be found.

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



More information about the Parted-commits mailing list