summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Integratengie2016-01-1377-24/+268
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tools/regression/geom_{concat,eli,gate,mirror,nop,raid3,shsec,stripe,uzip} in to the FreeBSD test suite as tests/sys/geom/class/{concat,eli,gate,mirror,nop,raid3,shsec,stripe,uzip} The tools/regression/geom and tools/regression/geom_part testcases are being left alone because both test sets are both currently broken. The majority of this work was done on ^/user/ngie/more-tests2 . The differences are as follows: - tests/sys/geom/class/Makefile.inc is not present; it was inlined into the class's Makefiles for explicitness. - The testcases officially require root via kyua - The geom_gate(4) tests don't use the pidfile changes proposed in https://reviews.freebsd.org/D4836 . MFC after: 1 month Sponsored by: EMC / Isilon Storage Division
| * MFhead @ r293815ngie2016-01-13863-9351/+25903
| |\
| * | Use a more unique name for the graid devicengie2016-01-011-1/+1
| | |
| * | Use `geom <class> load` instead of `g<class> load` (`g<class>` doesn'tngie2016-01-011-1/+1
| | | | | | | | | | | | exist for geom_uzip(4)..)
| * | Only try to unmount/remove mountpt if it's definedngie2016-01-011-2/+4
| | |
| * | Add missing Makefilengie2016-01-011-0/+7
| | |
| * | Move sbin/geom/class/tests to tests/sys/geom/class and remove sbin/geom/testsngie2016-01-0180-36/+35
| | | | | | | | | | | | | | | | | | This is inspired by parallel efforts being done on projects/zfsd (and makes more sense because these are functional tests of the subsystems, not the geom(8) commands
| * | MFhead @ r293006ngie2015-12-31125-2667/+5914
| |\ \
| * | | Hook the tests into the build automatically by creating a stub tests/ directoryngie2015-12-302-0/+14
| | | | | | | | | | | | | | | | which installs the autotraversing Kyuafile
| * | | MFhead @ r292618ngie2015-12-29577-6360/+21646
| |\ \ \
| * \ \ \ MFhead @ r292474ngie2015-12-19319-2371/+8204
| |\ \ \ \
| * \ \ \ \ MFhead @ r292396ngie2015-12-17157-4306/+6768
| |\ \ \ \ \
| * \ \ \ \ \ MFhead @ r292285ngie2015-12-15206-1307/+3390
| |\ \ \ \ \ \
| * \ \ \ \ \ \ MFhead @ r292177ngie2015-12-14203-1283/+3966
| |\ \ \ \ \ \ \
| * | | | | | | | MFhead @ r292053ngie2015-12-1073-546/+1528
| | | | | | | | |
| * | | | | | | | MFhead @ r292005ngie2015-12-09232-1694/+4387
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ MFhead@r291879ngie2015-12-061480-20187/+35907
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | r291359 was incorrect. Skip over tokens that start with `#' as fgetln canngie2015-11-261-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | return more than one '\n' delimited line in a buffer Handle empty lines too, just in case MFC after: 3 days X-MFC with: r291359
| * | | | | | | | | | MFhead @ r291359ngie2015-11-2673-197/+106
| | | | | | | | | | |
| * | | | | | | | | | - Remove cnftp.bjpu.edu.cn (it no longer resolves)ngie2015-11-262-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add localhost to resolv/mach for parity with nss/mach
| * | | | | | | | | | Skip over lines that start with commentsngie2015-11-261-0/+2
| | | | | | | | | | |
| * | | | | | | | | | MFhead @ r291345ngie2015-11-26380-1102/+2377
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Hook sbin/geom/class/tests in to the buildngie2015-11-251-0/+4
| | | | | | | | | | | |
| * | | | | | | | | | | Make sure TMPDIR is exported so /tmp is guaranteed to be defined for mktempngie2015-11-251-0/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Move the mntpoint definition down so the mktemp call get get a temporary ↵ngie2015-11-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directory under $TMPDIR instead of the current directory
| * | | | | | | | | | | Remove all explicit references to $TMPDIRngie2015-11-2513-25/+25
| | | | | | | | | | | |
| * | | | | | | | | | | Remove braces around us0, us1, and us2 in gmirror label operationngie2015-11-251-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Probe for the first available ggate(4) devicengie2015-11-251-1/+4
| | | | | | | | | | | |
| * | | | | | | | | | | conf.sh:ngie2015-11-253-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Implement gconcat_test_cleanup - Use a random name for the shsec 1_test.sh/2_test.sh: - Attach md devices with attach_md - Remove unnecessary mdconfig -d -u and gconcat destroy calls at the end of the scripts
| * | | | | | | | | | | conf.sh:ngie2015-11-253-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Implement gnop_test_cleanup - Use a random name for the shsec 1_test.sh/2_test.sh: - Attach md devices with attach_md - Remove unnecessary mdconfig -d -u and gstripe destroy calls at the end of the scripts
| * | | | | | | | | | | Probe for the first available md unit number instead of hardcoding 45ngie2015-11-2522-38/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Detach/mdconfig -d -u at the end of the test consistently
| * | | | | | | | | | | conf.sh:ngie2015-11-253-30/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Implement gshsec_test_cleanup - Use a random name for the shsec 1_test.sh/2_test.sh: - Attach md devices with attach_md - Remove unnecessary mdconfig -d -u and gstripe destroy calls at the end of the scripts
| * | | | | | | | | | | - Attach md devices with attach_mdngie2015-11-252-22/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove unnecessary mdconfig -d -u and gstripe destroy calls at the end of the scripts
| * | | | | | | | | | | - Implement gstripe_test_cleanupngie2015-11-251-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use a random name for the gstripe
| * | | | | | | | | | | - Convert 1_test into a TAP testcasengie2015-11-252-26/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use conf.sh - Simplify the setup/cleanup steps
| * | | | | | | | | | | Add conf.sh for creating a mountpoint, unmounting the mountpoint and ↵ngie2015-11-251-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cleaning up any temporary md devices
| * | | | | | | | | | | Remove useless testngie2015-11-252-19/+0
| | | | | | | | | | | |
| * | | | | | | | | | | Move 1 to 1_test and 2 to 2_testngie2015-11-253-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Remove `graid3 stop $name`ngie2015-11-2512-14/+0
| | | | | | | | | | | |
| * | | | | | | | | | | Implement graid3_test_cleanup, which calls graid3 stop $name, thenngie2015-11-251-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | geom_test_cleanup
| * | | | | | | | | | | - Allocate random devices via attach_mdngie2015-11-2512-163/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replace hardcoded references to /tmp with $TMPDIR - Remove all manual mdconfig -d -u calls
| * | | | | | | | | | | Load geom_gate.ko via kldload as `[geom ]gate load` isn't implemented.ngie2015-11-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Every time geom_subr.sh tries to run the command, it'll fail
| * | | | | | | | | | | Add -F pidfile to usage(..)ngie2015-11-241-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Increase the timeout for onetime_test and onetime_a_test to 10 minutesngie2015-11-241-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Do some incremental work trying to improve the test scriptngie2015-11-241-27/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately it seems that phk broke how labels/partitions were created in r113434 and the gap was never completed, so these testcases are broken. Exit early
| * | | | | | | | | | | Catch relevant errorsngie2015-11-241-14/+18
| | | | | | | | | | | |
| * | | | | | | | | | | - Account for stripesize/stripeoffset in diskinfo outputngie2015-11-2415-107/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove c partitions from output (/dev/md32c was an alias for /dev/md32 that was deprecated in 8.x)
| * | | | | | | | | | | MFhead @ r291235ngie2015-11-24337-31654/+27331
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ MFhead @ r291038ngie2015-11-18136-1384/+9123
| |\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Do not print out errno if the call succeeded unexpectedly; this was a mistakengie2015-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made in r290868 MFC after: 4 days X-MFC with: r290563, r290868 Reported by: jilles Sponsored by: EMC / Isilon Storage Division
OpenPOWER on IntegriCloud