From deb33d6a0bada06e0ef406ca34d5564b74741d49 Mon Sep 17 00:00:00 2001 From: "R. Bernstein" Date: Sat, 3 Mar 2012 16:58:34 -0500 Subject: [PATCH] check_legal.regex: allow matching cd-info.exe. check_common_fn.in: don't erase file cd-info_legal.dump if there is an error. --- test/check_common_fn.in | 1 - test/check_legal.regex | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/check_common_fn.in b/test/check_common_fn.in index 95c6969a..9e2e6726 100755 --- a/test/check_common_fn.in +++ b/test/check_common_fn.in @@ -153,7 +153,6 @@ test_legal_header() { echo " ${line}" echo "$0: Failed command:" echo " ${cmd} ${opts}" - rm -f "${outfile}" exit 4 fi done < ${srcdir}/check_legal.regex diff --git a/test/check_legal.regex b/test/check_legal.regex index c308ba79..032a0fbd 100644 --- a/test/check_legal.regex +++ b/test/check_legal.regex @@ -1,5 +1,5 @@ -cd-info version [0-9] -^Copyright (c) 2003 +cd-info version.* [0-9] +^Copyright (c) 200 Bernstein ^This is free software; see the source for copying conditions\.$ ^There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A$