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:
Kamil Śliwak 2020-04-17 15:20:37 +02:00
parent 4788fdad0b
commit 3180e6c5a2

View File

@ -214,7 +214,7 @@ printTask "Testing unknown options..."
then
echo "Passed"
else
printError "Incorrect response to unknown options: $STDERR"
printError "Incorrect response to unknown options: $output"
exit 1
fi
)
@ -385,7 +385,7 @@ SOLTMPDIR=$(mktemp -d)
# This should fail
if [[ !("$output" =~ "No input files given") || ($result == 0) ]]
then
printError "Incorrect response to empty input arg list: $STDERR"
printError "Incorrect response to empty input arg list: $output"
exit 1
fi