mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
cmdlineTests.sh: Fix missing details in some error messages
- As far as I know $STDERR is not a standard shell variable and it's not defined in the file either.
This commit is contained in:
parent
4788fdad0b
commit
3180e6c5a2
@ -214,7 +214,7 @@ printTask "Testing unknown options..."
|
|||||||
then
|
then
|
||||||
echo "Passed"
|
echo "Passed"
|
||||||
else
|
else
|
||||||
printError "Incorrect response to unknown options: $STDERR"
|
printError "Incorrect response to unknown options: $output"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
@ -385,7 +385,7 @@ SOLTMPDIR=$(mktemp -d)
|
|||||||
# This should fail
|
# This should fail
|
||||||
if [[ !("$output" =~ "No input files given") || ($result == 0) ]]
|
if [[ !("$output" =~ "No input files given") || ($result == 0) ]]
|
||||||
then
|
then
|
||||||
printError "Incorrect response to empty input arg list: $STDERR"
|
printError "Incorrect response to empty input arg list: $output"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user