diff options
author | mestorlx <github@martindiz.com.ar> | 2018-10-15 23:54:48 +0800 |
---|---|---|
committer | mestorlx <github@martindiz.com.ar> | 2018-10-16 01:26:15 +0800 |
commit | 9f9d6fdcc48bfbc1c039c903d60aa38a166c1850 (patch) | |
tree | 42920b862f17f4732135d4ef48557e5bd533facd /test | |
parent | 238494752192a2c834eb8913b244671afb48d693 (diff) | |
download | dexon-solidity-9f9d6fdcc48bfbc1c039c903d60aa38a166c1850.tar.gz dexon-solidity-9f9d6fdcc48bfbc1c039c903d60aa38a166c1850.tar.zst dexon-solidity-9f9d6fdcc48bfbc1c039c903d60aa38a166c1850.zip |
fix issue##5007
Diffstat (limited to 'test')
-rwxr-xr-x | test/cmdlineTests.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/cmdlineTests.sh b/test/cmdlineTests.sh index 20254ef4..a8261693 100755 --- a/test/cmdlineTests.sh +++ b/test/cmdlineTests.sh @@ -292,6 +292,14 @@ SOLTMPDIR=$(mktemp -d) if [[ "$result" != 0 ]] ; then exit 1 fi + + # This should not fail + set +e + output=$(echo '' | "$SOLC" --ast - 2>/dev/null) + set -e + if [[ $? != 0 ]] ; then + exit 1 + fi ) printTask "Testing soljson via the fuzzer..." |