diff options
Diffstat (limited to 't/mdate5.sh')
-rwxr-xr-x | t/mdate5.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/mdate5.sh b/t/mdate5.sh index 4cef9526d..66afac1bc 100755 --- a/t/mdate5.sh +++ b/t/mdate5.sh @@ -21,7 +21,7 @@ am_create_testdir=empty get_shell_script mdate-sh -set x `./mdate-sh mdate-sh` +set x $(./mdate-sh mdate-sh) shift echo "$*" # For debugging. @@ -38,7 +38,7 @@ case $2 in esac # Stricter checks on the year required a POSIX date(1) command. -if year=`date +%Y` && test $year -gt 2010; then +if year=$(date +%Y) && test $year -gt 2010; then test $year = $3 || Exit 1 fi |