diff options
Diffstat (limited to 'tests/mkdir/p-v')
-rwxr-xr-x | tests/mkdir/p-v | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/tests/mkdir/p-v b/tests/mkdir/p-v index 3ec9110c4..2c84b41d6 100755 --- a/tests/mkdir/p-v +++ b/tests/mkdir/p-v @@ -1,7 +1,7 @@ #!/bin/sh # Test mkdir -pv. -# Copyright (C) 2006 Free Software Foundation, Inc. +# Copyright (C) 2006, 2007 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 @@ -21,27 +21,8 @@ if test "$VERBOSE" = yes; then mkdir --version fi -# Make sure we get English translations. -LANGUAGE=C -export LANGUAGE -LC_ALL=C -export LC_ALL -LANG=C -export LANG - -pwd=`pwd` -t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ -trap 'status=$?; cd "$pwd" && rm -rf $t0 && exit $status' 0 -trap '(exit $?); exit $?' 1 2 13 15 - -framework_failure=0 -mkdir -p $tmp || framework_failure=1 -cd $tmp || framework_failure=1 - -if test $framework_failure = 1; then - echo "$0: failure in testing framework" 1>&2 - (exit 1); exit 1 -fi +. $srcdir/../lang-default +. $srcdir/../test-lib.sh mkdir -pv foo/a/b/c/d 2>out || exit |