mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-20 21:53:12 +00:00
Fix MSP test case after switching to nc6
This commit is contained in:
parent
afc1cc5dbe
commit
fa4fd02fbd
@ -292,12 +292,12 @@ setup_terminate() {
|
||||
}
|
||||
client_terminate() {
|
||||
executeOk_servald msp connect --once --forward=3001 $SIDA 512
|
||||
assertStderrGrep --matches=1 " Connection with .* closed suddenly$"
|
||||
assertStderrGrep --matches=1 " Connection with .* closed gracefully$"
|
||||
tfw_cat --stdout --stderr
|
||||
}
|
||||
server_terminate() {
|
||||
executeOk_servald msp listen 512 < <(dd if=/dev/urandom bs=1k count=500 | hexdump -C)
|
||||
assertStderrGrep --matches=1 " Connection with .* closed suddenly$"
|
||||
assertStderrGrep --matches=1 " Connection with .* closed gracefully$"
|
||||
tfw_cat --stdout --stderr
|
||||
}
|
||||
test_terminate() {
|
||||
|
Loading…
Reference in New Issue
Block a user