summaryrefslogtreecommitdiff
path: root/tests/touch/no-create-missing
diff options
context:
space:
mode:
Diffstat (limited to 'tests/touch/no-create-missing')
-rwxr-xr-xtests/touch/no-create-missing8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/touch/no-create-missing b/tests/touch/no-create-missing
index 7c47c6184..96aa09232 100755
--- a/tests/touch/no-create-missing
+++ b/tests/touch/no-create-missing
@@ -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
- touch --version
-fi
-
-. $srcdir/test-lib.sh
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+test "$VERBOSE" = yes && touch --version
touch -c no-file > /dev/null 2>&1 || fail=1