aboutgitcodebugslistschat
path: root/test/pasta
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-13 14:35:22 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-13 11:12:41 +0200
commitc71a5e8528f7278a645ed3dab2c7e813dcb7d8bf (patch)
tree67eb819ee162bdeadbbdb0acbcf43b7aad279eac /test/pasta
parent54c5addeaa983377b72197eeadd35b355b44a037 (diff)
downloadpasst-c71a5e8528f7278a645ed3dab2c7e813dcb7d8bf.tar
passt-c71a5e8528f7278a645ed3dab2c7e813dcb7d8bf.tar.gz
passt-c71a5e8528f7278a645ed3dab2c7e813dcb7d8bf.tar.bz2
passt-c71a5e8528f7278a645ed3dab2c7e813dcb7d8bf.tar.lz
passt-c71a5e8528f7278a645ed3dab2c7e813dcb7d8bf.tar.xz
passt-c71a5e8528f7278a645ed3dab2c7e813dcb7d8bf.tar.zst
passt-c71a5e8528f7278a645ed3dab2c7e813dcb7d8bf.zip
test: Don't redundantly regenerate small test file in pasta/tcp
In what looks like a copy/paste error, pasta/tcp generates its small test file twice. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/pasta')
-rw-r--r--test/pasta/tcp3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/pasta/tcp b/test/pasta/tcp
index 7c7de06..5497f11 100644
--- a/test/pasta/tcp
+++ b/test/pasta/tcp
@@ -91,10 +91,7 @@ hout HOST_MD5_BIG md5sum __TEMP_BIG__ | cut -d' ' -f1
check [ "__HOST_MD5_BIG__" = "__MD5_BIG__" ]
test TCP/IPv6: host to ns: small transfer
-temp TEMP_SMALL
-temp TEMP_NS_SMALL
nsb socat -u TCP6-LISTEN:10002,bind=[::1] OPEN:__TEMP_NS_SMALL__,create,trunc
-host dd if=/dev/urandom bs=2k count=1 of=__TEMP_SMALL__
host socat -u OPEN:__TEMP_SMALL__ TCP6:[::1]:10002
nsw
hout MD5_SMALL md5sum __TEMP_SMALL__ | cut -d' ' -f1