summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/reset_command_0
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/sets/reset_command_0')
-rwxr-xr-xtests/shell/testcases/sets/reset_command_02
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shell/testcases/sets/reset_command_0 b/tests/shell/testcases/sets/reset_command_0
index 5e769fe6..e663dac8 100755
--- a/tests/shell/testcases/sets/reset_command_0
+++ b/tests/shell/testcases/sets/reset_command_0
@@ -32,7 +32,7 @@ $NFT -f - <<< "$RULESET"
echo OK
drop_seconds() {
- sed 's/m[0-9]*s[0-9]*ms/m/g'
+ sed 's/[0-9]\+m\?s//g'
}
expires_minutes() {
sed -n 's/.*expires \([0-9]*\)m.*/\1/p'