From 9d534aa492a0b4760bd5dd61d02c6ddac19f450a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 15 Aug 2005 13:03:57 +0000 Subject: use ERR_SUBST to get around fact that the diagnostic you get on a system with 32-bit time_t is not the same as the one you get for a system where it's 64 bits wide: - date: time 72057594037927935 is out of range + date: invalid date `@72057594037927935' --- tests/misc/date | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/misc/date') diff --git a/tests/misc/date b/tests/misc/date index 1f7bb58df..17b6c48d0 100755 --- a/tests/misc/date +++ b/tests/misc/date @@ -199,7 +199,8 @@ my @Tests = # 0000003 ['uninit-64', '-d @72057594037927935', {OUT=>''}, - {ERR => "date: invalid date `\@72057594037927935'\n"}, + {ERR_SUBST => 's/.*//'}, + {ERR => "\n"}, {EXIT => 1}, ], ); -- cgit v1.2.3-70-g09d2