aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/hostname.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/network/hostname.exp')
-rwxr-xr-xtest/network/hostname.exp31
1 files changed, 0 insertions, 31 deletions
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 @@
1#!/usr/bin/expect -f
2# This file is part of Firejail project
3# Copyright (C) 2014-2023 Firejail Authors
4# License GPL v2
5
6set timeout 10
7spawn $env(SHELL)
8match_max 100000
9
10send -- "firejail --hostname=bingo --noprofile\r"
11expect {
12 timeout {puts "TESTING ERROR 1\n";exit}
13 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
14}
15sleep 1
16send -- "stty -echo\r"
17after 100
18
19send -- "ping -c 3 bingo; echo done\r"
20expect {
21 timeout {puts "TESTING ERROR 2\n";exit}
22 "3 packets transmitted, 3 received"
23}
24expect {
25 timeout {puts "TESTING ERROR 3\n";exit}
26 "done"
27}
28send -- "exit\r"
29after 100
30
31puts "all done\n"