]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r292845:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Dec 2015 00:04:21 +0000 (00:04 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 29 Dec 2015 00:04:21 +0000 (00:04 +0000)
commita965b30b5df3eb9af44c65d9fb3b349eed25e596
tree455f6ef552ae9332bdc703bd3045c51d2c7756d5
parenta7bb20730744b6522d61ca462d2426db817428ed
MFstable/10 r292845:

MFC r292569:

Make the mac_portacl testcases work / more robust

- A trap(1) call has been added to the test scripts to better
  ensure that the tests do a better job at trying to restore the
  test host state at the end of the tests (if the test was
  interrupted before it would leave the system in an odd state,
  potentially making the test results for subsequent runs
  non-deterministic).
- Add root user checks
- Fix nc(1) usage:
  -- -o is deprecated
  -- Using `-w 10` will make the call timeout after 10 seconds so it
     doesn't block indefinitely
- Use local variables
- Be more terse in the error messages
- Parameterize out "127.0.0.1"

Sponsored by: EMC / Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/9@292848 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
tools/regression/mac/mac_portacl/misc.sh
tools/regression/mac/mac_portacl/nobody.t
tools/regression/mac/mac_portacl/root.t