Commit ac03cf6de8d2cfe0dfc55b106bac1fdaec929da6

Stefan Sperling 2020-01-17T14:37:03

fix bug in tag list tests where expected datestamps were swapped

diff --git a/regress/cmdline/tag.sh b/regress/cmdline/tag.sh
index 070aa6e..4fe82be 100755
--- a/regress/cmdline/tag.sh
+++ b/regress/cmdline/tag.sh
@@ -148,7 +148,7 @@ function test_tag_list {
 		> $testroot/stdout.expected
 	echo "tag $tag2 $tag_id2" >> $testroot/stdout.expected
 	echo "from: $GOT_AUTHOR" >> $testroot/stdout.expected
-	echo "date: $d1" >> $testroot/stdout.expected
+	echo "date: $d2" >> $testroot/stdout.expected
 	echo "object: commit $commit_id" >> $testroot/stdout.expected
 	echo " " >> $testroot/stdout.expected
 	echo " test" >> $testroot/stdout.expected
@@ -157,7 +157,7 @@ function test_tag_list {
 		>> $testroot/stdout.expected
 	echo "tag $tag $tag_id" >> $testroot/stdout.expected
 	echo "from: $GOT_AUTHOR" >> $testroot/stdout.expected
-	echo "date: $d2" >> $testroot/stdout.expected
+	echo "date: $d1" >> $testroot/stdout.expected
 	echo "object: commit $commit_id" >> $testroot/stdout.expected
 	echo " " >> $testroot/stdout.expected
 	echo " test" >> $testroot/stdout.expected
@@ -195,7 +195,7 @@ function test_tag_list_lightweight {
 		> $testroot/stdout.expected
 	echo "tag $tag2 $tag_id2" >> $testroot/stdout.expected
 	echo "from: $GOT_AUTHOR" >> $testroot/stdout.expected
-	echo "date: $d1" >> $testroot/stdout.expected
+	echo "date: $d2" >> $testroot/stdout.expected
 	echo "object: commit $commit_id" >> $testroot/stdout.expected
 	echo " " >> $testroot/stdout.expected
 	echo " adding the test tree" >> $testroot/stdout.expected
@@ -204,7 +204,7 @@ function test_tag_list_lightweight {
 		>> $testroot/stdout.expected
 	echo "tag $tag $tag_id" >> $testroot/stdout.expected
 	echo "from: $GOT_AUTHOR" >> $testroot/stdout.expected
-	echo "date: $d2" >> $testroot/stdout.expected
+	echo "date: $d1" >> $testroot/stdout.expected
 	echo "object: commit $commit_id" >> $testroot/stdout.expected
 	echo " " >> $testroot/stdout.expected
 	echo " adding the test tree" >> $testroot/stdout.expected