]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r324478:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 17 Oct 2017 15:49:36 +0000 (15:49 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 17 Oct 2017 15:49:36 +0000 (15:49 +0000)
commitfa69bb09050f4a1d38d5cd75b93f26185702ac36
tree0be6a27ae89da6718bb2d80ff37b17c1213d3e29
parentd303b1691d5ba15af3948fa79b20ee0adb700def
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@324690 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/growfs/tests/legacy_test.pl
tests/sys/geom/class/eli/resize_test.sh