aboutsummaryrefslogtreecommitdiffstats
path: root/test/sysutils
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2017-09-22 11:09:19 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2017-09-22 11:14:07 +0200
commita128210ebc836750ea50d2c148689eace6fd6f89 (patch)
tree63505748b73dda686d29944d3cc81a3661e415b7 /test/sysutils
parentMerge branch 'master' of http://github.com/netblue30/firejail (diff)
downloadfirejail-a128210ebc836750ea50d2c148689eace6fd6f89.tar.gz
firejail-a128210ebc836750ea50d2c148689eace6fd6f89.tar.zst
firejail-a128210ebc836750ea50d2c148689eace6fd6f89.zip
testing: use different file in less.exp
in Debian autopkgtest runs, the tests are not necessarily run below the source directory, so the old path to Makefile.in might not exist.
Diffstat (limited to 'test/sysutils')
-rwxr-xr-xtest/sysutils/less.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sysutils/less.exp b/test/sysutils/less.exp
index 5ff11174d..29781c21a 100755
--- a/test/sysutils/less.exp
+++ b/test/sysutils/less.exp
@@ -7,14 +7,14 @@ set timeout 10
7spawn $env(SHELL) 7spawn $env(SHELL)
8match_max 100000 8match_max 100000
9 9
10send -- "firejail less ../../Makefile.in\r" 10send -- "firejail less sysutils.sh\r"
11expect { 11expect {
12 timeout {puts "TESTING ERROR 1\n";exit} 12 timeout {puts "TESTING ERROR 1\n";exit}
13 "MYLIBS" 13 "MALLOC_CHECK"
14} 14}
15expect { 15expect {
16 timeout {puts "TESTING ERROR 2\n";exit} 16 timeout {puts "TESTING ERROR 2\n";exit}
17 "APPS" 17 "./cpio.exp"
18} 18}
19 19
20puts "\nall done\n" 20puts "\nall done\n"