]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-failing-maintainer-scripts
Only do openpty() if both stdin/stdout are terminals
[apt.git] / test / integration / test-failing-maintainer-scripts
index cb82ebc7a3eb88fb6bd5658f2890ad519d572825..3dd7d643eed490588fcf6663acb66b4e2927faca 100755 (executable)
@@ -86,7 +86,7 @@ testmyfailure() {
        testfailure "$@" -o APT::Status-Fd=3
        msgtest 'Test for failure message of maintainerscript in' 'console log'
        local TEST='rootdir/tmp/testfailure.output'
        testfailure "$@" -o APT::Status-Fd=3
        msgtest 'Test for failure message of maintainerscript in' 'console log'
        local TEST='rootdir/tmp/testfailure.output'
-       if grep -q 'exit status 29$' "$TEST"; then
+       if grep -q 'exit status 29' "$TEST"; then
                msgpass
        else
                cat $TEST
                msgpass
        else
                cat $TEST