diff options
Diffstat (limited to 'tests/cp/into-self')
-rwxr-xr-x | tests/cp/into-self | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/cp/into-self b/tests/cp/into-self index 21aae8076..3341d1a8b 100755 --- a/tests/cp/into-self +++ b/tests/cp/into-self @@ -21,12 +21,8 @@ # Now it gives this: # cp: can't copy a directory `dir' into itself `dir/dir' -if test "$VERBOSE" = yes; then - set -x - cp --version -fi - -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src +test "$VERBOSE" = yes && cp --version mkdir a dir || framework_failure |