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/t3000-symlink.sh | |
parent | 6c6be2269cdb353de490d8b76acd92afce6699a2 (diff) | |
download | parted-8e9ac03d6f9dc444096276500ec76e9293dcd956.tar.gz |
tests: libparted/tests: use init.sh, not test-lib.sh
Diffstat (limited to 'libparted/tests/t3000-symlink.sh')
-rwxr-xr-x | libparted/tests/t3000-symlink.sh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libparted/tests/t3000-symlink.sh b/libparted/tests/t3000-symlink.sh index 9c64833..17ded93 100755 --- a/libparted/tests/t3000-symlink.sh +++ b/libparted/tests/t3000-symlink.sh @@ -1,4 +1,5 @@ #!/bin/sh +# run the /dev/mapper symlink test # Copyright (C) 2007-2010 Free Software Foundation, Inc. @@ -15,15 +16,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -test_description='run the /dev/mapper symlink test' +. "${abs_top_srcdir=../..}/tests/init.sh"; path_prepend_ . +. $abs_top_srcdir/tests/t-lib-helpers.sh # Need root privileges to create a symlink under /dev/mapper. -privileges_required_=1 +require_root_ -: ${top_srcdir=../..} -. "$top_srcdir/tests/test-lib.sh" +symlink || fail=1 -test_expect_success \ - 'run the actual tests' 'symlink' - -test_done +Exit $fail |