From ef4409e7b79b3dabf5a35879138d66b0b8a0c24d Mon Sep 17 00:00:00 2001 From: startx2017 Date: Thu, 30 Aug 2018 07:29:05 -0400 Subject: added whois and dig profiles --- test/private-lib/dig.exp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 test/private-lib/dig.exp (limited to 'test/private-lib/dig.exp') diff --git a/test/private-lib/dig.exp b/test/private-lib/dig.exp new file mode 100755 index 000000000..6e03b0503 --- /dev/null +++ b/test/private-lib/dig.exp @@ -0,0 +1,17 @@ +#!/usr/bin/expect -f +# This file is part of Firejail project +# Copyright (C) 2014-2018 Firejail Authors +# License GPL v2 + +set timeout 10 +spawn $env(SHELL) +match_max 100000 + +send -- "firejail dig 1.1.1.1\r" +expect { + timeout {puts "TESTING ERROR 0\n";exit} + "Query time" +} + +after 100 +puts "\nall done\n" -- cgit v1.2.3-70-g09d2