From d405ea06135dbfc0ceeb733996b8fae8cf9b45bd Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 9 Nov 2014 16:02:49 -0500 Subject: [PATCH] Regression test for src diff. --- srctest | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -" -- 2.43.0