X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/626b510952d3756e15efda6c2e4d0a2c95f6eed3..886127936eae6a5bff449d797abb4e8aa10f9186:/test/oauth/common.sh?ds=inline 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" }