From 3b8d19272dcc3a17f82d3d8c5d6684a3d959f463 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 10 Jan 1998 11:00:46 +0000 Subject: . --- tests/ls/time-1 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 tests/ls/time-1 (limited to 'tests/ls/time-1') diff --git a/tests/ls/time-1 b/tests/ls/time-1 new file mode 100755 index 000000000..c7929d5b6 --- /dev/null +++ b/tests/ls/time-1 @@ -0,0 +1,32 @@ +#!/bin/sh + +: ${LS=ls} +test=time-1 + +if test "$VERBOSE" = yes; then + set -x + $LS --version +fi + +tmp=t-ls.$$ + +test_failure=0 +mkdir $tmp || test_failure=1 +cd $tmp || test_failure=1 +: > a || test_failure=1 +: > b || test_failure=1 +cat b || test_failure=1 + +if test $test_failure = 1; then + echo 'failure in testing framework' + exit 1 +fi + +fail=0 +$LS -u a b > out || fail=1 + cat out + +cd .. +rm -rf $tmp + +exit $fail -- cgit v1.2.3-70-g09d2