[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/checks/Attic/check-them,v [branch-1_4]
From: |
Eric Blake |
Subject: |
Changes to m4/checks/Attic/check-them,v [branch-1_4] |
Date: |
Sat, 08 Jul 2006 21:20:45 +0000 |
CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 06/07/08 21:20:44
Index: checks/check-them
===================================================================
RCS file: /sources/m4/m4/checks/Attic/check-them,v
retrieving revision 1.1.1.1.2.7
retrieving revision 1.1.1.1.2.8
diff -u -b -r1.1.1.1.2.7 -r1.1.1.1.2.8
--- checks/check-them 3 Jul 2006 17:01:07 -0000 1.1.1.1.2.7
+++ checks/check-them 8 Jul 2006 21:20:44 -0000 1.1.1.1.2.8
@@ -41,15 +41,20 @@
# Run the tests.
for file
do
+ test -f "$file" || {
+ echo "No such file: $file"
+ continue
+ }
echo "Checking $file"
- LC_MESSAGES=C m4 -d -I "$examples" $file >$out 2>$err
+ sed -e '/^dnl @/d' -e '/^\^D$/q' "$file" \
+ | LC_MESSAGES=C m4 -d -I "$examples" - >$out 2>$err
if test $? = 77 ; then
skipped="$skipped $file"
continue
fi
- sed -e '/^dnl @result{}/!d' -e 's///' -e "s|m4.input|$file|" $file > $xout
+ sed -e '/^dnl @result{}/!d' -e 's///' "$file" > $xout
if cmp -s $out $xout; then
:
@@ -60,8 +65,7 @@
diff $xout $out
fi
- sed -e '/^dnl @error{}/!d' -e 's///' -e "s|m4.input|$file|" \
- -e "s| m4:| $m4:|" $file > $xerr
+ sed -e '/^dnl @error{}/!d' -e 's///' -e "s| m4:| $m4:|" "$file" > $xerr
if cmp -s $err $xerr; then
:
- Changes to m4/checks/Attic/check-them,v [branch-1_4], Eric Blake, 2006/07/02
- Changes to m4/checks/Attic/check-them,v [branch-1_4], Eric Blake, 2006/07/03
- Changes to m4/checks/Attic/check-them,v [branch-1_4], Eric Blake, 2006/07/03
- Changes to m4/checks/Attic/check-them,v [branch-1_4],
Eric Blake <=
- Changes to m4/checks/Attic/check-them,v [branch-1_4], Eric Blake, 2006/07/30