summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/cache
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/cache')
-rwxr-xr-xtests/shell/testcases/cache/0001_cache_handling_04
-rwxr-xr-xtests/shell/testcases/cache/0002_interval_04
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/shell/testcases/cache/0001_cache_handling_0 b/tests/shell/testcases/cache/0001_cache_handling_0
index 77afdf8d..f3dc9a34 100755
--- a/tests/shell/testcases/cache/0001_cache_handling_0
+++ b/tests/shell/testcases/cache/0001_cache_handling_0
@@ -15,7 +15,7 @@ table inet test {
set -e
-$NFT -f - <<< $RULESET
+$NFT -f - <<< "$RULESET"
TMP=$(mktemp)
echo "$RULESET" >> "$TMP"
$NFT "flush ruleset;include \"$TMP\""
@@ -23,4 +23,4 @@ rm -f "$TMP"
rule_handle=$($NFT list ruleset -a | awk '/saddr/{print $NF}')
$NFT delete rule inet test test handle $rule_handle
$NFT delete set inet test test
-$NFT -f - <<< $RULESET
+$NFT -f - <<< "$RULESET"
diff --git a/tests/shell/testcases/cache/0002_interval_0 b/tests/shell/testcases/cache/0002_interval_0
index 0c010c1f..506a6c8a 100755
--- a/tests/shell/testcases/cache/0002_interval_0
+++ b/tests/shell/testcases/cache/0002_interval_0
@@ -14,5 +14,5 @@ add element inet t s {
192.168.0.1/24,
}"
-$NFT -f - <<< $RULESET
-$NFT -f - <<< $RULESET
+$NFT -f - <<< "$RULESET"
+$NFT -f - <<< "$RULESET"