bfe2f7af47cf5ce1cd141650a1976411e2c1d6aa — Simon Ser 3 days ago d4ed5eb
test/readonly: make stdout check less strict

Some shells print the parameter values with quotes [1].

[1]: https://builds.sr.ht/~emersion/job/116952
1 files changed, 1 insertions(+), 1 deletions(-)

M test/readonly.sh
M test/readonly.sh => test/readonly.sh +1 -1
@@ 2,7 2,7 @@
 
 echo "Print read-only parameters after setting one"
 readonly mrsh_readonly_param=b
-readonly -p | grep mrsh_readonly_param
+readonly -p | grep mrsh_readonly_param | wc -l
 
 #echo "Try setting a read-only parameter"
 #(mrsh_readonly_param=c) 2>/dev/null