src $TESTOPTS log testfile1 >testfile3
diff testfile2 testfile3
-check "log test"
+check "2-commit log test"
cat >testfile1 <<EOF
Now is the time
src $TESTOPTS commit -f testfile4 testfile1 >/dev/null
check "commit with -f"
+cat >testfile4 <<EOF
+= testfile1 =================================================================
+3 | 1970-01-02T00:01:00Z
+Third comment
+------------------------------------------------------------------------------
+2 | 1970-01-02T00:02:00Z
+Second comment
+------------------------------------------------------------------------------
+1 | 1970-01-02T00:03:00Z
+First comment
+------------------------------------------------------------------------------
+EOF
+
+src $TESTOPTS log testfile1 >testfile5
+diff testfile4 testfile5
+check "3-commit log test"
+
# to do: checkout, tag, fast-export, out-of-bounds revisions.
# end