summaryrefslogtreecommitdiff
path: root/tests/touch/fail-diag
diff options
context:
space:
mode:
Diffstat (limited to 'tests/touch/fail-diag')
-rwxr-xr-xtests/touch/fail-diag8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/touch/fail-diag b/tests/touch/fail-diag
index 1b7acbc87..a957a8fdb 100755
--- a/tests/touch/fail-diag
+++ b/tests/touch/fail-diag
@@ -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
skip_if_root_
d1=no-$$