From 91235785e06ac890514fd51fa44aa14e7c2e108e Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 2 Mar 2023 08:19:41 -0500 Subject: network testing --- test/network/hostname.exp | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100755 test/network/hostname.exp (limited to 'test/network/hostname.exp') diff --git a/test/network/hostname.exp b/test/network/hostname.exp deleted file mode 100755 index 42af84847..000000000 --- a/test/network/hostname.exp +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/expect -f -# This file is part of Firejail project -# Copyright (C) 2014-2023 Firejail Authors -# License GPL v2 - -set timeout 10 -spawn $env(SHELL) -match_max 100000 - -send -- "firejail --hostname=bingo --noprofile\r" -expect { - timeout {puts "TESTING ERROR 1\n";exit} - -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms" -} -sleep 1 -send -- "stty -echo\r" -after 100 - -send -- "ping -c 3 bingo; echo done\r" -expect { - timeout {puts "TESTING ERROR 2\n";exit} - "3 packets transmitted, 3 received" -} -expect { - timeout {puts "TESTING ERROR 3\n";exit} - "done" -} -send -- "exit\r" -after 100 - -puts "all done\n" -- cgit v1.2.3-70-g09d2