summaryrefslogtreecommitdiff
path: root/tests/mkdir/p-2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mkdir/p-2')
-rwxr-xr-xtests/mkdir/p-28
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/mkdir/p-2 b/tests/mkdir/p-2
index 863f188dc..735d7ad08 100755
--- a/tests/mkdir/p-2
+++ b/tests/mkdir/p-2
@@ -16,12 +16,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
- mkdir --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && mkdir --version
mkdir --parents "`pwd`/t/u" || fail=1
test -d t/u || fail=1