Merge branch 'ab/pack-tests-cleanup'
[gitweb.git] / t / t9001-send-email.sh
index b8e919e25d6b4def87a6d66db32b94e8813b1cd7..1ef1a19003db5c9be94197e9d6cb25110591705b 100755 (executable)
@@ -253,10 +253,9 @@ test_suppress_self () {
 
        mv msgtxt1 msgtxt1-$3 &&
        sed -e '/^$/q' msgtxt1-$3 >"msghdr1-$3" &&
-       >"expected-no-cc-$3" &&
 
        (grep '^Cc:' msghdr1-$3 >"actual-no-cc-$3";
-        test_cmp expected-no-cc-$3 actual-no-cc-$3)
+        test_must_be_empty actual-no-cc-$3)
 }
 
 test_suppress_self_unquoted () {