[Bug 1075612] Re: coreutils autopkgtests do not fail correctly when a test fails

Martin Pitt martin.pitt at ubuntu.com
Wed Nov 7 14:52:17 UTC 2012


Thanks Paul! Pulled your branch and disabled the bad test.

** Changed in: coreutils (Ubuntu)
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1075612

Title:
  coreutils autopkgtests do not fail correctly when a test fails

Status in “coreutils” package in Ubuntu:
  Fix Committed

Bug description:
  When running the autopkgtests for coreutils I noticed that some tests
  were getting marked as FAIL but the script was passing and exiting
  with 0 regardless.  The script is running with || { do some other
  things that won't fail } so the set -e had no effect.  I'm not sure
  what the recommended behaviour is for autopkgtests, but in general I
  usually like to see all the test failures in one go, unless there was
  something catastrophically wrong with the whole thing running.  So I
  left the -e in, but updated it a bit to count the failures and exit
  with the total count.

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




More information about the foundations-bugs mailing list