Silence spammy integration test cases. (#5934)

This commit is contained in:
Jacob Hoffman-Andrews
2018-09-12 16:35:43 -07:00
committed by GitHub
parent 251355cade
commit 8f7209de14
+4 -4
View File
@@ -185,10 +185,10 @@ get_num_tmp_files() {
ls -1 /tmp | wc -l
}
num_tmp_files=$(get_num_tmp_files)
common --csr / && echo expected error && exit 1 || true
common --help
common --help all
common --version
common --csr / > /dev/null && echo expected error && exit 1 || true
common --help > /dev/null
common --help all > /dev/null
common --version > /dev/null
if [ $(get_num_tmp_files) -ne $num_tmp_files ]; then
echo "New files or directories created in /tmp!"
exit 1