diff options
Diffstat (limited to 'tests/touch/trailing-slash')
-rwxr-xr-x | tests/touch/trailing-slash | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/touch/trailing-slash b/tests/touch/trailing-slash index f9c32fd7d..f09695c07 100755 --- a/tests/touch/trailing-slash +++ b/tests/touch/trailing-slash @@ -51,14 +51,14 @@ test -f nowhere && fail=1 # symlinks and directories under Cygwin 1.5). touch -d 2009-10-10 -h link2/ || fail=1 touch -h -r link2/ file || fail=1 -case `stat --format=%y dir` in +case $(stat --format=%y dir) in 2009-10-10*) ;; *) fail=1 ;; esac -case `stat --format=%y link2` in +case $(stat --format=%y link2) in 2009-10-10*) fail=1 ;; esac -case `stat --format=%y file` in +case $(stat --format=%y file) in 2009-10-10*) ;; *) fail=1 ;; esac |