Merge branch 'fix-pr13514' into branch-1.13.2
[platform/upstream/automake.git] / t / test-driver-is-distributed.sh
index 88f7982..d870bd9 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2013 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
@@ -19,9 +19,9 @@
 #    defined in a subdir Makefile
 
 am_create_testdir=empty
-. ./defs || Exit 1
+. test-init.sh
 
-ocwd=`pwd` || fatal_ "getting current working directory"
+ocwd=$(pwd) || fatal_ "getting current working directory"
 
 for i in 1 2; do
   mkdir D$i