diff options
author | 2017-09-22 11:09:19 +0200 | |
---|---|---|
committer | 2017-09-22 11:14:07 +0200 | |
commit | a128210ebc836750ea50d2c148689eace6fd6f89 (patch) | |
tree | 63505748b73dda686d29944d3cc81a3661e415b7 | |
parent | Merge branch 'master' of http://github.com/netblue30/firejail (diff) | |
download | firejail-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.
-rwxr-xr-x | test/sysutils/less.exp | 6 |
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 | |||
7 | spawn $env(SHELL) | 7 | spawn $env(SHELL) |
8 | match_max 100000 | 8 | match_max 100000 |
9 | 9 | ||
10 | send -- "firejail less ../../Makefile.in\r" | 10 | send -- "firejail less sysutils.sh\r" |
11 | expect { | 11 | expect { |
12 | timeout {puts "TESTING ERROR 1\n";exit} | 12 | timeout {puts "TESTING ERROR 1\n";exit} |
13 | "MYLIBS" | 13 | "MALLOC_CHECK" |
14 | } | 14 | } |
15 | expect { | 15 | expect { |
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 | ||
20 | puts "\nall done\n" | 20 | puts "\nall done\n" |