diff options
Diffstat (limited to 'tests/rm/sunos-1')
-rwxr-xr-x | tests/rm/sunos-1 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/rm/sunos-1 b/tests/rm/sunos-1 index be988e11f..3057ecbbd 100755 --- a/tests/rm/sunos-1 +++ b/tests/rm/sunos-1 @@ -22,12 +22,8 @@ # actually remove files with names of entries in the current directory # but relative to `/' rather than relative to the current directory. -if test "$VERBOSE" = yes; then - set -x - rm --version -fi - -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src +test "$VERBOSE" = yes && rm --version rm -r '' > /dev/null 2>&1 && fail=1 |