From: Eric S. Raymond Date: Sun, 9 Nov 2014 21:02:49 +0000 (-0500) Subject: Regression test for src diff. X-Git-Tag: 0.4~36 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=d405ea06135dbfc0ceeb733996b8fae8cf9b45bd;p=src.git Regression test for src diff. --- diff --git a/srctest b/srctest index f7952f3..04e838d 100755 --- a/srctest +++ b/srctest @@ -45,6 +45,17 @@ for all good men EOF cp testfile1 testrev2 +cat >testfile4 <testfile5 +diff -u testfile4 testfile5 +check "nonempty diff" + echo "Second comment" | src $TESTOPTS commit - testfile1 >/dev/null check "commit with -"