]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r275170:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 5 Dec 2014 12:51:27 +0000 (12:51 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 5 Dec 2014 12:51:27 +0000 (12:51 +0000)
commit9c7ea17b7dc9696aa7a5b62ffb2bb52f2f657ee8
treeea5d506155375898f746f40b6acdd74c784c76f4
parent97014a7b26ce6a0cd7b9565b67384c6de92209ae
MFC r275170:

  Convert sbin/mdconfig/tests from prove format tests to ATF format tests

  As a side effect...
  1. The tests now checks for the root user before continuing with kyua, which is
     more visible than the test being skipped with the TAP protocol
  2. The tests work with devices that aren't /dev/md0 by caching the device
     attached during the test to a file, and later use the cached information to
     detach the device in the cleanup routine
  3. The tests no longer require perl to run

  PR: 191191
  Sponsored by: EMC / Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/10@275511 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
ObsoleteFiles.inc
sbin/mdconfig/tests/Makefile
sbin/mdconfig/tests/legacy_test.sh [deleted file]
sbin/mdconfig/tests/mdconfig.test [deleted file]
sbin/mdconfig/tests/mdconfig_test.sh [new file with mode: 0755]
sbin/mdconfig/tests/run.pl [deleted file]