mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
remove bashism from test.sh
This commit is contained in:
parent
3e0c0c8116
commit
e5947b5ec0
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
log=build/log.txt
|
log=build/log.txt
|
||||||
vg="nice valgrind --leak-check=full --num-callers=32 \
|
vg="nice valgrind --leak-check=full --num-callers=32 \
|
||||||
@ -28,7 +28,7 @@ for test in ${tests}; do
|
|||||||
exit 1;;
|
exit 1;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if (( ${?} == 0 )); then
|
if [ "${?}" = "0" ]; then
|
||||||
echo "success"
|
echo "success"
|
||||||
else
|
else
|
||||||
echo "fail"
|
echo "fail"
|
||||||
|
Loading…
Reference in New Issue
Block a user