aboutgitcodebugslistschat
path: root/test/shutdown
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-12 20:56:19 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-13 05:32:00 +0200
commit2f87265d8b25cbeeadfb662f2a46db00795747a3 (patch)
treeaee58a8338cec4da063f0a48c9bc0db0be8e5eaf /test/shutdown
parentd9b9c252cd494e23056c3ec28080a88636409865 (diff)
downloadpasst-2f87265d8b25cbeeadfb662f2a46db00795747a3.tar
passt-2f87265d8b25cbeeadfb662f2a46db00795747a3.tar.gz
passt-2f87265d8b25cbeeadfb662f2a46db00795747a3.tar.bz2
passt-2f87265d8b25cbeeadfb662f2a46db00795747a3.tar.lz
passt-2f87265d8b25cbeeadfb662f2a46db00795747a3.tar.xz
passt-2f87265d8b25cbeeadfb662f2a46db00795747a3.tar.zst
passt-2f87265d8b25cbeeadfb662f2a46db00795747a3.zip
test: Use new-style contexts for passt pane in the pasta and passt tests
Convert the pasta and passt tests to use new-style context execution for the things that run in the "passt" frame. Don't touch the passt_in_ns or two_guests tests yet, because they run passt inside a namespace which introduces some additional complications we have yet to handle. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/shutdown')
-rw-r--r--test/shutdown/passt4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/shutdown/passt b/test/shutdown/passt
index 4a7b702..ac8ff08 100644
--- a/test/shutdown/passt
+++ b/test/shutdown/passt
@@ -17,6 +17,4 @@ test shutdown: exit code
hout PASST_PID cat passt.pid
host kill __PASST_PID__
sleep 1
-
-pout EXIT echo $?
-check [ "__EXIT__" = "0" ]
+passtw