aboutsummaryrefslogtreecommitdiffstats
path: root/test/network/bandwidth.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/network/bandwidth.exp')
-rwxr-xr-xtest/network/bandwidth.exp7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/network/bandwidth.exp b/test/network/bandwidth.exp
index 33b351296..a3dc9b55f 100755
--- a/test/network/bandwidth.exp
+++ b/test/network/bandwidth.exp
@@ -1,4 +1,7 @@
1#!/usr/bin/expect -f 1#!/usr/bin/expect -f
2# This file is part of Firejail project
3# Copyright (C) 2014-2016 Firejail Authors
4# License GPL v2
2 5
3set timeout 10 6set timeout 10
4spawn $env(SHELL) 7spawn $env(SHELL)
@@ -51,11 +54,11 @@ expect {
51} 54}
52sleep 1 55sleep 1
53 56
54send -- "firejail --bandwidth=test status; pwd\r" 57send -- "firejail --bandwidth=test status; echo done\r"
55expect { 58expect {
56 timeout {puts "TESTING ERROR 8\n";exit} 59 timeout {puts "TESTING ERROR 8\n";exit}
57 "rate 80Kbit burst 10Kb" {puts "TESTING ERROR 9\n";exit} 60 "rate 80Kbit burst 10Kb" {puts "TESTING ERROR 9\n";exit}
58 "home" {puts "ok\n"} 61 "done"
59} 62}
60sleep 1 63sleep 1
61 64