]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Update test.sh to use new comments
authorfennecdjay <astor.jeremie@wanadoo.fr>
Sun, 21 Jul 2019 09:22:50 +0000 (11:22 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Sun, 21 Jul 2019 09:22:50 +0000 (11:22 +0200)
help/test.sh

index af28a55a95b2ba7b208751c46124dc6b62da2201..cfb2ad0880af165f0fcdaabd3bd106713fda77b0 100644 (file)
@@ -32,6 +32,7 @@ assert_contain() {
   contains=${contains:1}
   [ -z "$contains" ] && return 0
   grep "$contains" "$2.err.log" > /dev/null && return 0
+  grep "$contains" "$2.std.log" > /dev/null && return 0
   echo "does not contain $contains" > "$2.log"
   return 1
 }