aboutsummaryrefslogtreecommitdiffstats
path: root/test/stress/stress.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/stress/stress.sh')
-rwxr-xr-xtest/stress/stress.sh42
1 files changed, 0 insertions, 42 deletions
diff --git a/test/stress/stress.sh b/test/stress/stress.sh
deleted file mode 100755
index 9db7ac9d3..000000000
--- a/test/stress/stress.sh
+++ /dev/null
@@ -1,42 +0,0 @@
1#!/bin/bash
2# This file is part of Firejail project
3# Copyright (C) 2014-2023 Firejail Authors
4# License GPL v2
5
6export MALLOC_CHECK_=3
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8export LC_ALL=C
9
10
11# blacklist testing
12rm -fr ~/fj-stress-test
13mkdir ~/fj-stress-test
14rm blacklist.profile
15rm noblacklist.profile
16rm env.profile
17for i in {1..100}
18do
19 echo "hello" > ~/fj-stress-test/testfile$i
20 echo "blacklist ~/fj-stress-test/testfile$i" >> blacklist.profile
21 echo "blacklist \${PATH}/sh" >> blacklist.profile
22 echo "noblacklist ~/fj-stress-test/testfile$i" >> noblacklist.profile
23 echo "noblacklist \${PATH}/sh" >> noblacklist.profile
24 echo "env FJSTRESS$i=stress" >> env.profile
25done
26echo "include blacklist.profile" >> noblacklist.profile
27
28echo "TESTING: stress blacklist/noblacklist (/test/stress/blacklist.exp)"
29./blacklist.exp
30
31echo "TESTING: stress env (/test/stress/env.exp)"
32./env.exp
33
34rm -fr ~/fj-stress-test
35
36rm blacklist.profile
37rm noblacklist.profile
38rm env.profile
39
40# network arp testing
41echo "TESTING: macvlan (test/stress/net_macvlan.exp)"
42./net_macvlan.exp