-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validation/linux_cgroups_*: Generate TAP output
The test harness requires TAP output. Before this commit: # RUNTIME=runc tap ./validation/linux_cgroups_pids.t ./validation/linux_cgroups_pids.t ..................... 0/1 Skipped: 1 ./validation/linux_cgroups_pids.t no tests found total ................................................. 0/1 0 passing (191.66ms) 1 pending After this commit: # RUNTIME=runc tap ./validation/linux_cgroups_pids.t ./validation/linux_cgroups_pids.t ..................... 3/3 total ................................................. 3/3 3 passing (185.118ms) ok This commit also DRYs up some relative/absolute tests by factoring out the shared code into util.ValidateLinuxResources* helpers. And it adds a missing AddLinuxResourcesNetworkPriorities call; previously we were testing for a priority that we hadn't actually configured. Signed-off-by: W. Trevor King <wking@tremily.us>
- Loading branch information
Showing
15 changed files
with
310 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.