Commit 24527d6f authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Fix spurious failure of style.test.

* src/sanity/style.test: Make sure sh does not abort when read
exits with false.
parent 6fb7e9fa
2009-11-04 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix spurious failure of style.test.
* src/sanity/style.test: Make sure sh does not abort when read
exits with false.
2009-11-04 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix a longstanding bug reported by Kristin Y. Rozier..
......
#! /bin/sh
# Ensure consistent style by catching common improper constructs.
......@@ -180,9 +179,9 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
;;
esac
$fail && echo "$file" >>failures
done
done || : # Make sure sh does not abort when read exits with false.
done
if test -f failures; then
......@@ -191,3 +190,5 @@ if test -f failures; then
rm failures
exit 1;
fi
exit 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment