From 723dde8d085f6b2510fcf210721d0de8e8f14a86 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 3 May 2016 10:33:10 -0400 Subject: networking features testing --- test/network/bandwidth.exp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/network/bandwidth.exp') 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 @@ #!/usr/bin/expect -f +# This file is part of Firejail project +# Copyright (C) 2014-2016 Firejail Authors +# License GPL v2 set timeout 10 spawn $env(SHELL) @@ -51,11 +54,11 @@ expect { } sleep 1 -send -- "firejail --bandwidth=test status; pwd\r" +send -- "firejail --bandwidth=test status; echo done\r" expect { timeout {puts "TESTING ERROR 8\n";exit} "rate 80Kbit burst 10Kb" {puts "TESTING ERROR 9\n";exit} - "home" {puts "ok\n"} + "done" } sleep 1 -- cgit v1.2.3-54-g00ecf