From: Shimon Bollinger Date: Mon, 10 Nov 2014 03:06:06 +0000 (-0500) Subject: Timestamp forced to change when testing file mod X-Git-Tag: 0.4~27 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=c67c4d463827e967c0927b3dfea9179810965ad0;p=src.git Timestamp forced to change when testing file mod --- diff --git a/srctest b/srctest index 04e838d..e1d8980 100755 --- a/srctest +++ b/srctest @@ -213,6 +213,7 @@ src $TESTOPTS commit -m "Another sample" testfile16 src $TESTOPTS status testfile16 | grep "^U" >/dev/null check "U status check after first commit" +sleep 2 # ensures the timestamp changes echo "Add a second line" >>testfile16 src $TESTOPTS status testfile16 | grep "^M" >/dev/null check "M status check after modification"