diff options
author | Jim Meyering <meyering@redhat.com> | 2010-11-18 11:30:03 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-11-20 11:44:06 +0100 |
commit | ee477386f0355fc5640277a466c379b5d30fdaf3 (patch) | |
tree | 3b74e8ce3839a935fe255621659c17f4cac2a4fe /libparted/tests | |
parent | 066e7fd88885f8c769de7b39237164cb46384361 (diff) | |
download | parted-ee477386f0355fc5640277a466c379b5d30fdaf3.tar.gz |
tests: global subst: s/skip_test_/skip_/
git grep -l skip_test_|xargs perl -pi -e 's/skip_test_/skip_/'
Diffstat (limited to 'libparted/tests')
-rwxr-xr-x | libparted/tests/t2100-zerolen.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libparted/tests/t2100-zerolen.sh b/libparted/tests/t2100-zerolen.sh index 77d51de..0c08f80 100755 --- a/libparted/tests/t2100-zerolen.sh +++ b/libparted/tests/t2100-zerolen.sh @@ -28,13 +28,13 @@ init_root_dir_ # This test only makes sense on Linux. test "$(uname -s)" = Linux \ - || skip_test_ "not on Linux" + || skip_ "not on Linux" test "x$DYNAMIC_LOADING" = xyes \ - || skip_test_ "no dynamic loading support" + || skip_ "no dynamic loading support" test "x$ENABLE_DEVICE_MAPPER" = xyes \ - || skip_test_ "no device-mapper support" + || skip_ "no device-mapper support" # Device map name - should be random to not conflict with existing ones on # the system @@ -61,13 +61,13 @@ cleanup_() f1=$(pwd)/1 d1=$(loop_setup_ "$f1") \ - || skip_test_ "is this partition mounted with 'nodev'?" + || skip_ "is this partition mounted with 'nodev'?" echo "0 1024 linear $d1 0" | dmsetup create "$linear_" \ - || skip_test_ "unable to create dm device" + || skip_ "unable to create dm device" wait_for_dev_to_appear_ "/dev/mapper/$linear_" \ - || skip_test_ "dm device did not appear" + || skip_ "dm device did not appear" test_expect_success \ 'run the actual tests' "zerolen /dev/mapper/$linear_" |