Don't use the bash-ism [[ ]]. Use the [ ], which is standard and

perfectly adequate in this case.
This commit is contained in:
David Young
2020-01-13 11:22:34 -06:00
parent 16ca8f2c95
commit fe7965d38f

View File

@@ -923,7 +923,7 @@ GREPTEST()
cd $TESTDIR
$ENVCMD $RUNSERIAL $DUMPER_BIN -p "$@"
) >$actual 2>$actual_err
if [[ "$txttype" = "ERRTXT" ]]; then
if [ "$txttype" = "ERRTXT" ]; then
$GREP "$expectdata" $actual_err > /dev/null
else
$GREP "$expectdata" $actual > /dev/null