aboutsummaryrefslogtreecommitdiffstats
path: root/test/features
diff options
context:
space:
mode:
authorLibravatar a1346054 <36859588+a1346054@users.noreply.github.com>2022-09-13 20:21:21 +0000
committerLibravatar a1346054 <36859588+a1346054@users.noreply.github.com>2022-09-13 22:37:20 +0000
commit7a5c2b205e4f0c3700f41f2ccd2b104476b8f026 (patch)
tree1a4f33f8d68139a6bdac2657ed2e9860efc194d6 /test/features
parenttests: stop mixing tabs and spaces (diff)
downloadfirejail-7a5c2b205e4f0c3700f41f2ccd2b104476b8f026.tar.gz
firejail-7a5c2b205e4f0c3700f41f2ccd2b104476b8f026.tar.zst
firejail-7a5c2b205e4f0c3700f41f2ccd2b104476b8f026.zip
tests: use bash-style [[...]] instead of [...]
Diffstat (limited to 'test/features')
-rwxr-xr-xtest/features/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/features/test.sh b/test/features/test.sh
index aaf5fd089..44677aaa7 100755
--- a/test/features/test.sh
+++ b/test/features/test.sh
@@ -8,7 +8,7 @@ OVERLAY="overlay"
8CHROOT="chroot" 8CHROOT="chroot"
9NETWORK="network" 9NETWORK="network"
10 10
11while [ $# -gt 0 ]; do # Until you run out of parameters . . . 11while [[ $# -gt 0 ]]; do # Until you run out of parameters . . .
12 case "$1" in 12 case "$1" in
13 --nooverlay) 13 --nooverlay)
14 OVERLAY="none" 14 OVERLAY="none"
@@ -61,7 +61,7 @@ echo "TESTING: 1.10 disable /selinux"
61#################### 61####################
62# networking features 62# networking features
63#################### 63####################
64if [ $NETWORK == "network" ] 64if [[ $NETWORK == "network" ]]
65then 65then
66 echo "TESTING: 2.1 hostname" 66 echo "TESTING: 2.1 hostname"
67 ./2.1.exp "$OVERLAY" "$CHROOT" 67 ./2.1.exp "$OVERLAY" "$CHROOT"