summaryrefslogtreecommitdiff
path: root/tests/policy
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@mips.inka.de>2019-09-18 10:24:27 +0900
committerChristian Weisgerber <naddy@mips.inka.de>2019-09-18 10:24:27 +0900
commit84eeb65d2ce0fd29185a5ea8d7276b2f4f873967 (patch)
treeb8b84cebabca8b8c0f712b291d66f0846ba8fcef /tests/policy
parentbd9961200cc795c179395e4de02ca50697608b52 (diff)
downloadnss-hg-84eeb65d2ce0fd29185a5ea8d7276b2f4f873967.tar.gz
Bug 1581507 - Fix unportable grep expression in test scripts r=marcusburghardt
Diffstat (limited to 'tests/policy')
-rw-r--r--tests/policy/policy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/policy/policy.sh b/tests/policy/policy.sh
index 228c982a5..50aee50ef 100644
--- a/tests/policy/policy.sh
+++ b/tests/policy/policy.sh
@@ -14,7 +14,7 @@
ignore_blank_lines()
{
- LC_ALL=C grep -v '^[[:space:]]*\(#\|$\)' "$1"
+ LC_ALL=C egrep -v '^[[:space:]]*(#|$)' "$1"
}
policy_run_tests()