aboutsummaryrefslogtreecommitdiffstats
path: root/test/root/snmpd.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/root/snmpd.exp')
-rwxr-xr-xtest/root/snmpd.exp10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/root/snmpd.exp b/test/root/snmpd.exp
index 90e34470f..610fdb13a 100755
--- a/test/root/snmpd.exp
+++ b/test/root/snmpd.exp
@@ -4,16 +4,6 @@ set timeout 5
4spawn $env(SHELL) 4spawn $env(SHELL)
5match_max 100000 5match_max 100000
6 6
7send -- "sudo ls; sudo whoami; sudo pwd\r"
8expect {
9 timeout {puts "TESTING ERROR: you need to root run this test as root\n";exit}
10 "root"
11}
12
13send -- "pkill snmpd\r"
14sleep 2
15
16
17send -- "firejail --name=snmpd /etc/init.d/snmpd start\r" 7send -- "firejail --name=snmpd /etc/init.d/snmpd start\r"
18expect { 8expect {
19 timeout {puts "TESTING ERROR 0\n";exit} 9 timeout {puts "TESTING ERROR 0\n";exit}