summaryrefslogtreecommitdiff
path: root/tests/mv/no-target-dir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mv/no-target-dir')
-rwxr-xr-xtests/mv/no-target-dir8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/mv/no-target-dir b/tests/mv/no-target-dir
index 080a290db..f1d886ba5 100755
--- a/tests/mv/no-target-dir
+++ b/tests/mv/no-target-dir
@@ -17,12 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if test "$VERBOSE" = yes; then
- set -x
- mv --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && mv --version
mkdir -p d/sub empty src d2/sub e2 || framework_failure
touch f || framework_failure