2022-03-15 20:16:13 +01:00
|
|
|
# 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
|
|
|
|
#
|
2022-08-18 08:13:55 +02:00
|
|
|
# test/shutdown/passt_in_ns - Shut down passt and check exit code (will detect
|
|
|
|
# valgrind errors amongst others)
|
2022-03-15 20:16:13 +01:00
|
|
|
#
|
|
|
|
# Copyright (c) 2022 Red Hat GmbH
|
|
|
|
# Author: Stefano Brivio <sbrivio@redhat.com>
|
|
|
|
|
2022-08-18 08:13:55 +02:00
|
|
|
test shutdown: exit code
|
2022-03-15 20:16:13 +01:00
|
|
|
|
|
|
|
nsout PASST_PID cat passt.pid
|
|
|
|
ns kill __PASST_PID__
|
|
|
|
sleep 1
|
2022-09-12 12:56:24 +02:00
|
|
|
passtw
|