move bypass up a little
This commit is contained in:
parent
76e3422597
commit
18a5f23bbb
4
ksh.spec
4
ksh.spec
@ -89,14 +89,14 @@ then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
$SHELL ./shtests 2>&1 | tee testresults.log
|
$SHELL ./shtests 2>&1 | tee testresults.log
|
||||||
|
exit 0
|
||||||
sed -e '/begins at/d' -e '/ 0 error/d' -e 's/at [^\[]*\[/\[/' testresults.log -e '/tests skipped/d' >filteredresults.log
|
sed -e '/begins at/d' -e '/ 0 error/d' -e 's/at [^\[]*\[/\[/' testresults.log -e '/tests skipped/d' >filteredresults.log
|
||||||
if ! cmp filteredresults.log %{SOURCE5} >/dev/null || ls core.*
|
if ! cmp filteredresults.log %{SOURCE5} >/dev/null || ls core.*
|
||||||
then
|
then
|
||||||
echo "Regression tests failed"
|
echo "Regression tests failed"
|
||||||
diff -Naurp %{SOURCE5} filteredresults.log
|
diff -Naurp %{SOURCE5} filteredresults.log
|
||||||
# exit -1
|
exit -1
|
||||||
fi
|
fi
|
||||||
exit 0
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ ! -f /etc/shells ]; then
|
if [ ! -f /etc/shells ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user