Three issues: 1) The shebang has a typo. It should be "#!/bin/sh -x" not "#/bin/sh -x". 2) The heredoc end terminator needs leading whitespace removed; otherwise it doesn't work. 3) Running "/bin/sh -x" writes output to stderr, which autopkgtest treats as a failure by default. The easy fix is to add " allow-stderr" (note the space, not comma, separation) to the "Restrictions: " line in debian/tests/control.
With these changes, I tested your test and it appears to work. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1217474 Title: basic autopkgtest for crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/crash/+bug/1217474/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
