aboutgitcodebugslistschat
path: root/test/passt/shutdown
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-13 14:35:16 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-13 11:12:41 +0200
commit594c2f93716380feb29aeb774ba77704684aa125 (patch)
tree6fee493c0db91bb0b9a3affd539a846b7d882a47 /test/passt/shutdown
parent4381278b7d771b78fba2fe552ede33f8996b9f17 (diff)
downloadpasst-594c2f93716380feb29aeb774ba77704684aa125.tar
passt-594c2f93716380feb29aeb774ba77704684aa125.tar.gz
passt-594c2f93716380feb29aeb774ba77704684aa125.tar.bz2
passt-594c2f93716380feb29aeb774ba77704684aa125.tar.lz
passt-594c2f93716380feb29aeb774ba77704684aa125.tar.xz
passt-594c2f93716380feb29aeb774ba77704684aa125.tar.zst
passt-594c2f93716380feb29aeb774ba77704684aa125.zip
test: Group tests by mode then protocol, rather than the reverse
For example, passt/dhcp rather than dhcp/passt. This is more consistent with the two_guests and other test groups, and makes some other cleanups simpler. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/passt/shutdown')
-rw-r--r--test/passt/shutdown20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/passt/shutdown b/test/passt/shutdown
new file mode 100644
index 0000000..ce90ea9
--- /dev/null
+++ b/test/passt/shutdown
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: AGPL-3.0-or-later
+#
+# PASST - Plug A Simple Socket Transport
+# for qemu/UNIX domain socket mode
+#
+# PASTA - Pack A Subtle Tap Abstraction
+# for network namespace/tap device mode
+#
+# test/passt/shutdown - Shut down passt (or pasta) and check exit code (will
+# detect valgrind errors amongst others)
+#
+# Copyright (c) 2022 Red Hat GmbH
+# Author: Stefano Brivio <sbrivio@redhat.com>
+
+test shutdown: exit code
+
+hout PASST_PID cat passt.pid
+host kill __PASST_PID__
+sleep 1
+passtw