-
- Downloads
tests: use 'test_must_be_empty' instead of 'test_cmp /dev/null <out>'
Using 'test_must_be_empty' is more idiomatic than 'test_cmp /dev/null out', and its message on error is perhaps a bit more to the point. This patch was basically created by running: sed -i -e 's%test_cmp /dev/null%test_must_be_empty%' t[0-9]*.sh with the exception of the change in 'should not fail in an empty repo' in 't7401-submodule-summary.sh', where it was 'test_cmp output /dev/null'. Signed-off-by:SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
Showing
- t/t3210-pack-refs.sh 3 additions, 3 deletionst/t3210-pack-refs.sh
- t/t3308-notes-merge.sh 1 addition, 1 deletiont/t3308-notes-merge.sh
- t/t3310-notes-merge-manual-resolve.sh 4 additions, 4 deletionst/t3310-notes-merge-manual-resolve.sh
- t/t4047-diff-dirstat.sh 2 additions, 2 deletionst/t4047-diff-dirstat.sh
- t/t4116-apply-reverse.sh 1 addition, 1 deletiont/t4116-apply-reverse.sh
- t/t5509-fetch-push-namespaces.sh 1 addition, 1 deletiont/t5509-fetch-push-namespaces.sh
- t/t5523-push-upstream.sh 1 addition, 1 deletiont/t5523-push-upstream.sh
- t/t5541-http-push-smart.sh 1 addition, 1 deletiont/t5541-http-push-smart.sh
- t/t7401-submodule-summary.sh 1 addition, 1 deletiont/t7401-submodule-summary.sh
- t/t7810-grep.sh 1 addition, 1 deletiont/t7810-grep.sh
Please register or sign in to comment