X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT490-parse-time-string.sh;h=f89755ed0e42cfe7d87040f85410e77b8002adfd;hp=d1c70cfaf5d5fca98e66b9e1c6a2709f55fb7731;hb=2707c06a0fc587a68096a3ec6f054ba4f0d7e7c7;hpb=2f4beda434c59f9e2f5b7c32d26543bad7217ad4 diff --git a/test/T490-parse-time-string.sh b/test/T490-parse-time-string.sh index d1c70cfa..f89755ed 100755 --- a/test/T490-parse-time-string.sh +++ b/test/T490-parse-time-string.sh @@ -4,13 +4,11 @@ test_description="date/time parser module" # Sanity/smoke tests for the date/time parser independent of notmuch -_date () -{ +_date () { date -d "$*" +%s } -_parse_time () -{ +_parse_time () { ${TEST_DIRECTORY}/parse-time --format=%s "$*" }