mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-17 20:07:46 +00:00
These tests run individual and a mix of namespace stress tests mostly around networking and unix domain sockets where either the client or the server of socket echo application is run inside a container in different configurations: - different protocols - short or long lived connections - different levels of concurrency Tests are only run if the 'kernel' label is specified and more detailed tests are run if the additional 'kernel-extra' label is specified. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
32 lines
342 B
Bash
32 lines
342 B
Bash
#!/bin/sh
|
|
# SUMMARY: Kernel tests
|
|
# LABELS: kernel
|
|
|
|
group_init() {
|
|
# Group initialisation code goes here
|
|
return 0
|
|
}
|
|
|
|
group_deinit() {
|
|
# Group de-initialisation code goes here
|
|
return 0
|
|
}
|
|
|
|
CMD=$1
|
|
case $CMD in
|
|
init)
|
|
group_init
|
|
res=$?
|
|
;;
|
|
deinit)
|
|
group_deinit
|
|
res=$?
|
|
;;
|
|
*)
|
|
res=1
|
|
;;
|
|
esac
|
|
|
|
exit $res
|
|
|