diff options
Diffstat (limited to 'tests/cp/link-symlink')
-rwxr-xr-x | tests/cp/link-symlink | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cp/link-symlink b/tests/cp/link-symlink index 97fbf4b9b..57bc9c715 100755 --- a/tests/cp/link-symlink +++ b/tests/cp/link-symlink @@ -25,7 +25,7 @@ touch file ln -s file link || framework_failure_ touch -m -h -d 2011-01-01 link || skip_ "Your system doesn't support updating symlink timestamps" -case `stat --format=%y link` in +case $(stat --format=%y link) in 2011-01-01*) ;; *) skip_ "Your system doesn't support updating symlink timestamps" ;; esac @@ -33,7 +33,7 @@ esac # link.cp is probably a hardlink, but may also be a symlink # In either case the timestamp should match the original. cp -al link link.cp -case `stat --format=%y link.cp` in +case $(stat --format=%y link.cp) in 2011-01-01*) ;; *) fail=1 ;; esac |