aboutsummaryrefslogtreecommitdiffstats
path: root/test/stress/env.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/stress/env.exp')
-rwxr-xr-xtest/stress/env.exp31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/stress/env.exp b/test/stress/env.exp
deleted file mode 100755
index 66e2d8374..000000000
--- a/test/stress/env.exp
+++ /dev/null
@@ -1,31 +0,0 @@
1#!/usr/bin/expect -f
2# This file is part of Firejail project
3# Copyright (C) 2014-2023 Firejail Authors
4# License GPL v2
5
6set timeout 10
7spawn $env(SHELL)
8match_max 100000
9
10# env testing
11send -- "firejail --profile=env.profile\r"
12expect {
13 timeout {puts "TESTING ERROR 1\n";exit}
14 -re "Child process initialized in \[0-9\]+.\[0-9\]+ ms"
15}
16
17send -- "env | grep FJSTRESS77\r"
18expect {
19 timeout {puts "TESTING ERROR 2\n";exit}
20 "FJSTRESS77=stress"
21}
22
23send -- "env | grep FJSTRESS | wc -l\r"
24expect {
25 timeout {puts "TESTING ERROR 3\n";exit}
26 "100"
27}
28
29send -- "exit\r"
30after 100
31puts "\nall done\n"