Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
24527d6f
Commit
24527d6f
authored
Nov 04, 2009
by
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
24527d6f
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..
...
...
src/sanity/style.test
View file @
24527d6f
#! /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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment