diff options
author | Jim Meyering <meyering@redhat.com> | 2010-11-19 09:10:36 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-11-20 17:03:02 +0100 |
commit | 8e9ac03d6f9dc444096276500ec76e9293dcd956 (patch) | |
tree | c2922013a2cf3b913bdbc638f85bc56a425731a3 /libparted/tests/t2000-disk.sh | |
parent | 6c6be2269cdb353de490d8b76acd92afce6699a2 (diff) | |
download | parted-8e9ac03d6f9dc444096276500ec76e9293dcd956.tar.gz |
tests: libparted/tests: use init.sh, not test-lib.sh
Diffstat (limited to 'libparted/tests/t2000-disk.sh')
-rwxr-xr-x | libparted/tests/t2000-disk.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libparted/tests/t2000-disk.sh b/libparted/tests/t2000-disk.sh index e5401b2..6800f40 100755 --- a/libparted/tests/t2000-disk.sh +++ b/libparted/tests/t2000-disk.sh @@ -19,10 +19,8 @@ test_description='run the disk unit tests in a directory supporting O_DIRECT' # This wrapper around the ./label binary is used to find a directory # in which one can open a file with the O_DIRECT flag. -: ${top_srcdir=../..} -. "$top_srcdir/tests/test-lib.sh" +. "${top_srcdir=../..}/tests/init.sh"; path_prepend_ . -test_expect_success \ - 'run the actual tests' 'disk' +disk || fail=1 -test_done +Exit $fail |