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