Skip to content

Commit

Permalink
Use POSIX grep -x flag instead of --line-regexp
Browse files Browse the repository at this point in the history
Works with busybox grep
  • Loading branch information
Chris Adams committed Jan 28, 2020
1 parent dd21580 commit 4a08c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/0003-Install-tests-add-tests-definition.patch
Expand Up @@ -53,7 +53,7 @@ index 0000000..1e35b92
+{
+ FLAGS="${1?}"
+ FLAG="${2?}"
+ echo "${FLAGS}" |tr ',' '\n' |grep -q --line-regexp -e "${FLAG}"
+ echo "${FLAGS}" |tr ',' '\n' |grep -q -x -e "${FLAG}"
+}
+
+fmt_test_case()
Expand Down

0 comments on commit 4a08c96

Please sign in to comment.