diff options
| author | Jim Meyering <meyering@redhat.com> | 2009-11-28 19:31:46 +0100 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2009-12-31 17:29:55 +0100 |
| commit | e0fc06c5ce4e7c370ae2366b35c5952023c537fe (patch) | |
| tree | f988a24407d8753b6627852df8bd8123b2649251 /tests/help-version | |
| parent | 37abff282fc5adb392653c7a11e56bb733a672e6 (diff) | |
| download | diffutils-e0fc06c5ce4e7c370ae2366b35c5952023c537fe.tar.gz | |
tests: use gnulib's init.sh
* tests/Makefile.am (EXTRA_DIST): Add init.sh.
Remove test-lib.sh.
* tests/init.sh: New file.
* tests/test-lib.sh: Remove file.
* tests/help-version: Use init.sh, not test-lib.sh.
Diffstat (limited to 'tests/help-version')
| -rwxr-xr-x | tests/help-version | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/help-version b/tests/help-version index 2ab0865..a4220eb 100755 --- a/tests/help-version +++ b/tests/help-version @@ -25,7 +25,8 @@ test "$VERBOSE" = yes && set -x test "x$SHELL" = x && SHELL=/bin/sh export SHELL -. $srcdir/test-lib.sh +: ${srcdir=.} +. "$srcdir/init.sh"; path_prepend_ . expected_failure_status_chroot=125 expected_failure_status_env=125 |
