X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8e0f9bd3daae9d05dec58026d5a5924367e4e874..546b7396244452dba8f9cb917e904028ab01dda5:/test/oauth/common.sh?ds=sidebyside diff --git a/test/oauth/common.sh b/test/oauth/common.sh index 3f3dc598..ab0bad53 100644 --- a/test/oauth/common.sh +++ b/test/oauth/common.sh @@ -180,7 +180,7 @@ check_creds() { # it against our "correct" output. f="${MHTMPDIR}/oauth-test" - sed 's/^expire:.*/expire:/' "$f" > "$f".notime + sed 's/^\(expire.*:\).*/\1/' "$f" > "$f".notime check "$f".notime "${MHTMPDIR}/$$.expected-creds" rm "$f" }