aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils
diff options
context:
space:
mode:
authorLibravatar a1346054 <36859588+a1346054@users.noreply.github.com>2022-09-13 20:01:07 +0000
committerLibravatar a1346054 <36859588+a1346054@users.noreply.github.com>2022-09-13 22:37:20 +0000
commit270f0d95e3f27445057981b26a2aa6474769f3f2 (patch)
treea0dd67c7c9205d6987a706ffaa0141df91948ca7 /test/utils
parenttests: add missing final newline (diff)
downloadfirejail-270f0d95e3f27445057981b26a2aa6474769f3f2.tar.gz
firejail-270f0d95e3f27445057981b26a2aa6474769f3f2.tar.zst
firejail-270f0d95e3f27445057981b26a2aa6474769f3f2.zip
tests: stop mixing tabs and spaces
Diffstat (limited to 'test/utils')
-rwxr-xr-xtest/utils/catchsignal.sh26
-rwxr-xr-xtest/utils/catchsignal2.sh66
-rwxr-xr-xtest/utils/utils.sh12
3 files changed, 52 insertions, 52 deletions
diff --git a/test/utils/catchsignal.sh b/test/utils/catchsignal.sh
index 117179143..cef00b2a5 100755
--- a/test/utils/catchsignal.sh
+++ b/test/utils/catchsignal.sh
@@ -4,20 +4,20 @@
4# License GPL v2 4# License GPL v2
5 5
6_term() { 6_term() {
7 echo "Caught Signal" 7 echo "Caught Signal"
8 echo 1 8 echo 1
9 sleep 1 9 sleep 1
10 echo 2 10 echo 2
11 sleep 1 11 sleep 1
12 echo 3 12 echo 3
13 sleep 1 13 sleep 1
14 echo 4 14 echo 4
15 sleep 1 15 sleep 1
16 echo 5 16 echo 5
17 sleep 1 17 sleep 1
18 18
19 kill $pid 19 kill $pid
20 exit 20 exit
21} 21}
22 22
23trap _term SIGTERM 23trap _term SIGTERM
diff --git a/test/utils/catchsignal2.sh b/test/utils/catchsignal2.sh
index 1bd7852cd..21f299430 100755
--- a/test/utils/catchsignal2.sh
+++ b/test/utils/catchsignal2.sh
@@ -4,42 +4,42 @@
4# License GPL v2 4# License GPL v2
5 5
6_term() { 6_term() {
7 echo "Caught Signal" 7 echo "Caught Signal"
8 echo 1 8 echo 1
9 sleep 1 9 sleep 1
10 echo 2 10 echo 2
11 sleep 1 11 sleep 1
12 echo 3 12 echo 3
13 sleep 1 13 sleep 1
14 echo 4 14 echo 4
15 sleep 1 15 sleep 1
16 echo 5 16 echo 5
17 sleep 1 17 sleep 1
18 18
19 echo 10 19 echo 10
20 sleep 1 20 sleep 1
21 echo 20 21 echo 20
22 sleep 1 22 sleep 1
23 echo 30 23 echo 30
24 sleep 1 24 sleep 1
25 echo 40 25 echo 40
26 sleep 1 26 sleep 1
27 echo 50 27 echo 50
28 sleep 1 28 sleep 1
29 29
30 echo 100 30 echo 100
31 sleep 1 31 sleep 1
32 echo 200 32 echo 200
33 sleep 1 33 sleep 1
34 echo 300 34 echo 300
35 sleep 1 35 sleep 1
36 echo 400 36 echo 400
37 sleep 1 37 sleep 1
38 echo 500 38 echo 500
39 sleep 1 39 sleep 1
40 40
41 kill $pid 41 kill $pid
42 exit 42 exit
43} 43}
44 44
45trap _term SIGTERM 45trap _term SIGTERM
diff --git a/test/utils/utils.sh b/test/utils/utils.sh
index ad36d7053..d1d006f4f 100755
--- a/test/utils/utils.sh
+++ b/test/utils/utils.sh
@@ -35,10 +35,10 @@ echo "TESTING: help (test/utils/help.exp)"
35 35
36if command -v man 36if command -v man
37then 37then
38 echo "TESTING: man (test/utils/man.exp)" 38 echo "TESTING: man (test/utils/man.exp)"
39 ./man.exp 39 ./man.exp
40else 40else
41 echo "TESTING SKIP: man not found" 41 echo "TESTING SKIP: man not found"
42fi 42fi
43 43
44echo "TESTING: list (test/utils/list.exp)" 44echo "TESTING: list (test/utils/list.exp)"
@@ -49,10 +49,10 @@ echo "TESTING: tree (test/utils/tree.exp)"
49 49
50if [ $(grep -c ^processor /proc/cpuinfo) -gt 1 ]; 50if [ $(grep -c ^processor /proc/cpuinfo) -gt 1 ];
51then 51then
52 echo "TESTING: cpu.print (test/utils/cpu-print.exp)" 52 echo "TESTING: cpu.print (test/utils/cpu-print.exp)"
53 ./cpu-print.exp 53 ./cpu-print.exp
54else 54else
55 echo "TESTING SKIP: cpu.print, not enough CPUs" 55 echo "TESTING SKIP: cpu.print, not enough CPUs"
56fi 56fi
57 57
58echo "TESTING: fs.print (test/utils/fs-print.exp)" 58echo "TESTING: fs.print (test/utils/fs-print.exp)"