aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-02-08 20:01:54 +0800
committerGitHub <noreply@github.com>2017-02-08 20:01:54 +0800
commitb0729d0e764122cce13943cbdd303ae1fb8c3f4e (patch)
tree24632fc8c2da563096a2cf774017eb00062e6ff4 /scripts
parentf48b9e856322b9727469dd907217fe41b2589b9d (diff)
parent9c3b28e21e78519c280c076b0756413422ad5eeb (diff)
downloaddexon-solidity-b0729d0e764122cce13943cbdd303ae1fb8c3f4e.tar.gz
dexon-solidity-b0729d0e764122cce13943cbdd303ae1fb8c3f4e.tar.zst
dexon-solidity-b0729d0e764122cce13943cbdd303ae1fb8c3f4e.zip
Merge pull request #1663 from ethereum/mac-tests-fix
Fix tests on mac (wc produces whitespace)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index f2142946..ba932da5 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -35,7 +35,7 @@ echo "Running commandline tests..."
echo "Checking that StandardToken.sol, owned.sol and mortal.sol produce bytecode..."
output=$("$REPO_ROOT"/build/solc/solc --bin "$REPO_ROOT"/std/*.sol 2>/dev/null | grep "ffff" | wc -l)
-test "$output" = "3"
+test "${output//[[:blank:]]/}" = "3"
# This conditional is only needed because we don't have a working Homebrew
# install for `eth` at the time of writing, so we unzip the ZIP file locally