X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fmv%2Finto-self-2;h=3c3e7e2d022ea59da708ef625949257f4c0f1abd;hb=3c88587b2eadee11413f4207abbbf13af07c438d;hp=3e92c6404632a21e7905596e806d6a2eb75bbc3e;hpb=33173e867aa45b7f88551551da51e36875582813;p=platform%2Fupstream%2Fcoreutils.git diff --git a/tests/mv/into-self-2 b/tests/mv/into-self-2 index 3e92c64..3c3e7e2 100755 --- a/tests/mv/into-self-2 +++ b/tests/mv/into-self-2 @@ -3,7 +3,7 @@ # Consider the case where SRC and DEST are on different # partitions and DEST is a symlink to SRC. -# Copyright (C) 1998, 1999, 200, 007 Free Software Foundation, Inc. +# Copyright (C) 1998-2000, 2006-2009 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -23,15 +23,13 @@ if test "$VERBOSE" = yes; then mv --version fi -. $srcdir/../lang-default -. $srcdir/../test-lib.sh +. $srcdir/test-lib.sh cleanup_() { rm -rf "$other_partition_tmpdir"; } -. "$abs_top_srcdir/tests/other-fs-tmpdir" +. "$abs_srcdir/other-fs-tmpdir" file="$other_partition_tmpdir/file" symlink=symlink -fail=0 echo whatever > $file || framework_failure ln -s $file $symlink || framework_failure @@ -55,4 +53,4 @@ EOF compare out2 exp || fail=1 -exit $fail +Exit $fail