From 565b165115de72b4b276c0d5d6d5095e3c901a69 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 7 Dec 2006 10:11:40 +0100 Subject: * tests/touch/empty-file: Use envvar-check, so "make check" doesn't evoke diagnostics like this when COLUMNS=0 in the environment: ls: ignoring invalid width in environment variable COLUMNS: 0 * tests/touch/no-rights: Likewise. * tests/help-version: Likewise. --- tests/touch/empty-file | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/touch/empty-file') diff --git a/tests/touch/empty-file b/tests/touch/empty-file index 22d857ee1..b918362c8 100755 --- a/tests/touch/empty-file +++ b/tests/touch/empty-file @@ -1,7 +1,7 @@ #!/bin/sh # Make sure touch can set the mtime on an empty file. -# Copyright (C) 1998, 1999, 2000, 2005 Free Software Foundation, Inc. +# Copyright (C) 1998, 1999, 2000, 2005, 2006 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 @@ -28,6 +28,8 @@ if test "$VERBOSE" = yes; then touch --version fi +. $srcdir/../envvar-check + DEFAULT_SLEEP_SECONDS=2 SLEEP_SECONDS=${SLEEP_SECONDS=$DEFAULT_SLEEP_SECONDS} -- cgit v1.2.3-54-g00ecf