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 Kernel
Packages, which is subscribed to crash in Ubuntu.
https://bugs.launchpad.net/bugs/1217474

Title:
  basic autopkgtest for crash

Status in “crash” package in Ubuntu:
  In Progress
Status in “crash” package in Debian:
  New

Bug description:
  We should have an autopkgtest for crash to ensure it works!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crash/+bug/1217474/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to