[devel] [PATCH 3/3] tests: check nodiff does not fail if pattern matches no file
Vladimir D. Seleznev
vseleznv на altlinux.org
Чт Ноя 26 17:16:36 MSK 2020
Signed-off-by: Vladimir D. Seleznev <vseleznv на altlinux.org>
---
tests/gear-rules-diff-tag-tree-nodiff.test | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/gear-rules-diff-tag-tree-nodiff.test b/tests/gear-rules-diff-tag-tree-nodiff.test
index e22fc4e..4d0a8aa 100644
--- a/tests/gear-rules-diff-tag-tree-nodiff.test
+++ b/tests/gear-rules-diff-tag-tree-nodiff.test
@@ -22,6 +22,7 @@ gear_rules_diff_tag_tree_nodiff() # test entry point
echo "$gear_directive: v1:$src $dst" > .gear/rules
echo "nodiff: file2" >> .gear/rules
echo "nodiff: file3" >> .gear/rules
+ echo "nodiff: noterror" >> .gear/rules
mkdir -p $dst
echo two >$dst/file
echo three >$dst/file3
--
2.29.2
Подробная информация о списке рассылки Devel