aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rc/checkparse
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/rc/checkparse')
-rwxr-xr-xsrc/cmd/rc/checkparse6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cmd/rc/checkparse b/src/cmd/rc/checkparse
index cccc4058..1ff84667 100755
--- a/src/cmd/rc/checkparse
+++ b/src/cmd/rc/checkparse
@@ -9,6 +9,8 @@ fi
for i in $files
do
- echo '#' $i
- diff <(./o.rc -DY $i 2>&1) <(./o.rc -D $i 2>&1)
+ if ! diff <(./o.rc -DY $i 2>&1) <(./o.rc -D $i 2>&1); then
+ echo '#' $i
+ exit 1
+ fi
done