tests: Fix bashism in testsuite.at
&> is a bashism and causes various tests to fail with /bin/sh as non-bash (e.g. dash). Use the same pattern the rest of the file uses instead of &>. Copyright-paperwork-exempt: true
This commit is contained in:
@@ -133,7 +133,7 @@ m4_if([$2],,,&& genfile --file [$1]/[$2]) || AT_SKIP_TEST])
|
|||||||
|
|
||||||
dnl Skip test when utility does not return expected return value
|
dnl Skip test when utility does not return expected return value
|
||||||
m4_define([AT_CHECK_UTIL],[
|
m4_define([AT_CHECK_UTIL],[
|
||||||
$1 &> /dev/null
|
$1 > /dev/null 2>&1
|
||||||
if test "$?" != $2; then
|
if test "$?" != $2; then
|
||||||
AT_SKIP_TEST
|
AT_SKIP_TEST
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user