aboutsummaryrefslogtreecommitdiffstats
path: root/test/utils/utils.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/utils.sh')
-rwxr-xr-xtest/utils/utils.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils/utils.sh b/test/utils/utils.sh
index d1d006f4f..647cbfb34 100755
--- a/test/utils/utils.sh
+++ b/test/utils/utils.sh
@@ -7,7 +7,7 @@ export MALLOC_CHECK_=3
7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) 7export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
8export LC_ALL=C 8export LC_ALL=C
9 9
10if [ -f /etc/debian_version ]; then 10if [[ -f /etc/debian_version ]]; then
11 libdir=$(dirname "$(dpkg -L firejail | grep fcopy)") 11 libdir=$(dirname "$(dpkg -L firejail | grep fcopy)")
12 export PATH="$PATH:$libdir" 12 export PATH="$PATH:$libdir"
13fi 13fi
@@ -47,7 +47,7 @@ echo "TESTING: list (test/utils/list.exp)"
47echo "TESTING: tree (test/utils/tree.exp)" 47echo "TESTING: tree (test/utils/tree.exp)"
48./tree.exp 48./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