mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
external test scripts: Quote variables properly
This commit is contained in:
@@ -41,10 +41,10 @@ function solcjs_test
|
||||
echo "require('./determinism.js');" >> test/index.js
|
||||
|
||||
printLog "Copying determinism.js..."
|
||||
cp -f $SOLCJS_INPUT_DIR/determinism.js test/
|
||||
cp -f "$SOLCJS_INPUT_DIR/determinism.js" test/
|
||||
|
||||
printLog "Copying contracts..."
|
||||
cp -Rf $SOLCJS_INPUT_DIR/DAO test/
|
||||
cp -Rf "$SOLCJS_INPUT_DIR/DAO" test/
|
||||
|
||||
printLog "Copying SMTChecker tests..."
|
||||
cp -Rf "$TEST_DIR"/test/libsolidity/smtCheckerTests test/
|
||||
@@ -52,7 +52,7 @@ function solcjs_test
|
||||
|
||||
# Update version (needed for some tests)
|
||||
echo "Updating package.json to version $VERSION"
|
||||
npm version --allow-same-version --no-git-tag-version $VERSION
|
||||
npm version --allow-same-version --no-git-tag-version "$VERSION"
|
||||
|
||||
run_test compile_fn test_fn
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user