Patch to fix the uname26 testcases
diff -up ./tests/ts/misc/setarch.org ./tests/ts/misc/setarch --- ./tests/ts/misc/setarch.org 2020-05-26 22:27:49.173547933 +0000 +++ ./tests/ts/misc/setarch 2020-05-26 22:25:49.230293192 +0000 @@ -45,7 +45,7 @@ ts_init_subtest uname26 finmsg="" # for debugging 2.6 issues
echo "###### --uname-2.6 echo" >>$TS_OUTPUT -$TS_CMD_SETARCH $ARCH -v --uname-2.6 echo "2.6 worked" >> $TS_OUTPUT 2>> $TS_ERRLOG +$TS_CMD_SETARCH $ARCH -v --uname-2.6 echo "2.6 worked" >> $TS_OUTPUT 2>> $TS_OUTPUT if [ $? -eq 0 ]; then expected='^2.6 worked$' else @@ -56,7 +56,7 @@ fi sed -i "$ s/$expected/2.6 works or kernel too old/" $TS_OUTPUT echo "###### --uname-2.6 true, non-verbose" >>$TS_OUTPUT -$TS_CMD_SETARCH $ARCH --uname-2.6 true >> $TS_OUTPUT 2>> $TS_ERRLOG +$TS_CMD_SETARCH $ARCH --uname-2.6 true >> $TS_OUTPUT 2>> $TS_OUTPUT if [ $? -eq 0 ]; then echo "2.6 works or kernel too old" >> $TS_OUTPUT else