diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-10 03:04:42 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-10 03:04:42 +0000 |
commit | 4b0808c5d465afaa107ccdc542b6620979feb9d6 (patch) | |
tree | 39b91098c5cd5adcde1388228ae0786f3c4964db /contrib/netbsd-tests/lib/libc/regex/main.c | |
parent | 9e0c92b812b404c1d5124f2e2d81cb448ec22b07 (diff) | |
download | FreeBSD-src-4b0808c5d465afaa107ccdc542b6620979feb9d6.zip FreeBSD-src-4b0808c5d465afaa107ccdc542b6620979feb9d6.tar.gz |
MFC r309774,r309778,r309779,r309780:
r309774:
Only run mdconfig -d -u 3 if /dev/md3 exists on the system
This will prevent "cleanup failures" (exit code != 0 returned) when
tmpfs is not loaded
r309778:
Make test_unmount usable in cleanup subroutines
- Duplicate test_unmount to _test_unmount
- Remove atf_check calls
- Call _test_unmount from test_unmount, checking the exit code
at the end, and returning it to maintain the test_unmount
"contract"
r309779:
- Ignore errors from umount
- Use _test_unmount instead of test_unmount in cleanup
r309780:
Use _test_unmount instead of test_unmount in cleanup to avoid
false positives with atf_check when tmpfs is not loaded, etc
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/regex/main.c')
0 files changed, 0 insertions, 0 deletions