diff options
-rwxr-xr-x | tests/touch/fail-diag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/touch/fail-diag b/tests/touch/fail-diag index a77a89687..b7abd195a 100755 --- a/tests/touch/fail-diag +++ b/tests/touch/fail-diag @@ -22,7 +22,7 @@ cd $tmp || framework_failure=1 d1=/no-$$ dir=/$d1/such-dir # Ensure that $d1 doesn't already exist. -ld -d $d1 2> /dev/null && framework_failure=1 +ls -d $d1 2> /dev/null && framework_failure=1 if test $framework_failure = 1; then echo 'failure in testing framework' 1>&2 |