| 22184bfa | 10-Jun-2017 |
Enji Cooper <[email protected]> |
Improve handling with system state
- Always unlink $cmd after exit via END block. - The tests don't function well if kern.geom.debugflags != 0. Save debugflags, then restore them at the end of the
Improve handling with system state
- Always unlink $cmd after exit via END block. - The tests don't function well if kern.geom.debugflags != 0. Save debugflags, then restore them at the end of the test.
MFC after: 1 month Sponsored by: Dell EMC Isilon
show more ...
|
| d1f57d59 | 22-Apr-2017 |
Enji Cooper <[email protected]> |
gctl_test.t: improve error reporting with mdcfg and mount directives
If the commands had failed previously, it would press on and result in a series of cascading failures. Fail early and continue on
gctl_test.t: improve error reporting with mdcfg and mount directives
If the commands had failed previously, it would press on and result in a series of cascading failures. Fail early and continue on to the next case instead of executing additional commands after a previously failed series of steps.
MFC after: 5 weeks Sponsored by: Dell EMC Isilon
show more ...
|
| 9940eaaa | 22-Apr-2017 |
Enji Cooper <[email protected]> |
gctl_test.t: more tweaks to try and update the code and get it functional (again?)
- Make the logfile for $out be built off the basename for $cmd, instead of $cmd. (r317292 broke this assumption).
gctl_test.t: more tweaks to try and update the code and get it functional (again?)
- Make the logfile for $out be built off the basename for $cmd, instead of $cmd. (r317292 broke this assumption). - Rename $mntpt to $mntpt_prefix for clarity, as this variable is a prefix for mountpoints. - Reindent the umount directive block while here to match the rest of the code.
MFC after: 5 weeks Sponsored by: Dell EMC Isilon
show more ...
|
| 414bf3a1 | 22-Apr-2017 |
Enji Cooper <[email protected]> |
Use verb=delete not verb=remove
The `remove` verb hasn't been present in geom_part*(4) for well over a decade, if ever. I couldn't find any references to it in ^/stable/5 at least, which is around t
Use verb=delete not verb=remove
The `remove` verb hasn't been present in geom_part*(4) for well over a decade, if ever. I couldn't find any references to it in ^/stable/5 at least, which is around the timeframe that this test was written.
MFC after: 5 weeks Sponsored by: Dell EMC Isilon
show more ...
|
| acca703a | 22-Apr-2017 |
Enji Cooper <[email protected]> |
gctl_test.t: minor tweaks
- Declare $count with the `my` scope operator to permit `use strict`. - Add `use strict`. - Use `use warnings` instead of using `-w` in the shebang. - Don't unlink $cmd whe
gctl_test.t: minor tweaks
- Declare $count with the `my` scope operator to permit `use strict`. - Add `use strict`. - Use `use warnings` instead of using `-w` in the shebang. - Don't unlink $cmd when done (prevents unnecessary rebuilding). - Improve the error message when running with insufficient permissions, e.g., non-root.
MFC after: 5 weeks Sponsored by: Dell EMC Isilon
show more ...
|
| e1915a59 | 22-Apr-2017 |
Enji Cooper <[email protected]> |
gctl_test_helper: apply polish
- Staticize variables to fix warnings. - Sprinkle asserts around for calls that can fail - Apply style(9) for main(..) definition. - ANSIify usage(..) definition.
MFC
gctl_test_helper: apply polish
- Staticize variables to fix warnings. - Sprinkle asserts around for calls that can fail - Apply style(9) for main(..) definition. - ANSIify usage(..) definition.
MFC after: 5 weeks Sponsored by: Dell EMC Isilon
show more ...
|