Summary: | sbin/growfs/legacy_test:main and sys/geom/class/eli/resize_test:main both broken by r323923 | ||
---|---|---|---|
Product: | Base System | Reporter: | Enji Cooper <ngie> |
Component: | tests | Assignee: | Enji Cooper <ngie> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | testing |
Priority: | --- | Flags: | ngie:
mfc-stable11+
ngie: mfc-stable10+ |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Enji Cooper
2017-10-04 16:46:24 UTC
A commit references this bug: Author: ngie Date: Tue Oct 10 05:58:33 UTC 2017 New revision: 324478 URL: https://svnweb.freebsd.org/changeset/base/324478 Log: Check the exit code from fsck_ffs instead of relying on MODIFIED being in the output ^/head@r323923 changed when MODIFIED is printed at exit. It's better to follow the documented way of determining whether or not a filesystem is clean per fsck_ffs, i.e., ensure that the exit code is either 0 or 7. The pass/fail determination is brittle prior to this commit, and ^/head@r323923 made the issue apparent -- thus this needs to be fixed independent of ^/head@r323923. PR: 222780 MFC after: 1 week MFC with: r323923 Reported by: Jenkins Changes: head/sbin/growfs/tests/legacy_test.pl head/tests/sys/geom/class/eli/resize_test.sh A commit references this bug: Author: ngie Date: Tue Oct 17 15:49:37 UTC 2017 New revision: 324690 URL: https://svnweb.freebsd.org/changeset/base/324690 Log: MFC r324478: Check the exit code from fsck_ffs instead of relying on MODIFIED being in the output ^/head@r323923 changed when MODIFIED is printed at exit. It's better to follow the documented way of determining whether or not a filesystem is clean per fsck_ffs, i.e., ensure that the exit code is either 0 or 7. The pass/fail determination is brittle prior to this commit, and ^/head@r323923 made the issue apparent -- thus this needs to be fixed independent of ^/head@r323923. PR: 222780 MFC with: r323923 Changes: _U stable/10/ stable/10/sbin/growfs/tests/legacy_test.pl stable/10/tests/sys/geom/class/eli/resize_test.sh A commit references this bug: Author: ngie Date: Tue Oct 17 15:52:03 UTC 2017 New revision: 324691 URL: https://svnweb.freebsd.org/changeset/base/324691 Log: MFC r324478: Check the exit code from fsck_ffs instead of relying on MODIFIED being in the output ^/head@r323923 changed when MODIFIED is printed at exit. It's better to follow the documented way of determining whether or not a filesystem is clean per fsck_ffs, i.e., ensure that the exit code is either 0 or 7. The pass/fail determination is brittle prior to this commit, and ^/head@r323923 made the issue apparent -- thus this needs to be fixed independent of ^/head@r323923. PR: 222780 MFC with: r323923 Changes: _U stable/11/ stable/11/sbin/growfs/tests/legacy_test.pl stable/11/tests/sys/geom/class/eli/resize_test.sh |