From 3087dbb8a36309ccee7449e800aa8745a586d4aa Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Wed, 19 Sep 2007 15:01:00 +0000 Subject: [PATCH] Added test for checking correctness of the previous patch. darcs-hash:20070919150153-f2ef6-05025250529246f19de4a4d6ff4392645ec08b26.gz --- tests/headers/generated/runtest | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/headers/generated/runtest b/tests/headers/generated/runtest index 0a612c4..c7a6128 100755 --- a/tests/headers/generated/runtest +++ b/tests/headers/generated/runtest @@ -16,3 +16,8 @@ LC=$(find _build -wholename '*/lincan/lincan_config.h') test -f "$LC" || canttest "Can't find the produced local config" grep -Fv "/* config file:" $LC | diff -u correct/lincan_config.h - || error "Local config differs" +stat $LC > stat.log1 +touch config.omk-default +make +stat $LC > stat.log2 +diff stat.log1 stat.log2 || error "Generated config changed without without reason" -- 2.39.2