From 4a90dbb5552e967eecbe12048daa204cebdfc9a8 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Sun, 20 Nov 2011 00:06:30 -0800 Subject: [PATCH] gcode tests: date-stripping now supports all valid dates --- tests/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 4ceeeb03..5bd4acb8 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -392,7 +392,7 @@ normalize_gcode() { local f1="$1" local f2="$2" # matches string such as '( Tue Mar 9 17:45:43 2010 )' - $AWK --posix '!/^\( *[A-Z][a-z]{2} [A-Z][a-z]{2} [01 ][0-9] [0-9]{2}:[0-9]{2}:[0-9]{2} [0-9]{4} *\)$/' \ + $AWK --posix '!/^\( *[A-Z][a-z]{2} [A-Z][a-z]{2} [0123 ][0-9] [0-9]{2}:[0-9]{2}:[0-9]{2} [0-9]{4} *\)$/' \ $f1 > $f2 } -- 2.11.4.GIT