summaryrefslogtreecommitdiff
path: root/tests/mv/leak-fd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mv/leak-fd')
-rwxr-xr-xtests/mv/leak-fd8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/mv/leak-fd b/tests/mv/leak-fd
index 424f72517..3155397e7 100755
--- a/tests/mv/leak-fd
+++ b/tests/mv/leak-fd
@@ -18,12 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# limit so don't run it by default.
-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
skip_if_root_
cleanup_() { rm -rf "$other_partition_tmpdir"; }
. "$abs_srcdir/other-fs-tmpdir"