commit dca7503953926f729976546993c64c187f630b19 from: Stefan Sperling date: Mon Sep 02 07:56:40 2019 UTC fix tag_list test failure on single-day-digit dates (patch by Evan Silberman) commit - 6b68ccd6c881df83e78cf8b525ccfa3c0c3c21d0 commit + dca7503953926f729976546993c64c187f630b19 blob - db9528a8d563d08559533e1edb30d63c3e7a4beb blob + ff9e9e50a0904b80d516f90d64a8b838feb7aa37 --- regress/cmdline/tag.sh +++ regress/cmdline/tag.sh @@ -136,11 +136,11 @@ function test_tag_list { tag_id=`got ref -r $testroot/repo -l \ | grep "^refs/tags/$tag" | tr -d ' ' | cut -d: -f2` local tagger_time=`git_show_tagger_time $testroot/repo $tag` - d1=`env TZ=UTC date -r $tagger_time +"%a %b %d %X %Y UTC"` + d1=`env TZ=UTC date -r $tagger_time +"%a %b %e %X %Y UTC"` tag_id2=`got ref -r $testroot/repo -l \ | grep "^refs/tags/$tag2" | tr -d ' ' | cut -d: -f2` local tagger_time2=`git_show_tagger_time $testroot/repo $tag2` - d2=`env TZ=UTC date -r $tagger_time2 +"%a %b %d %X %Y UTC"` + d2=`env TZ=UTC date -r $tagger_time2 +"%a %b %e %X %Y UTC"` got tag -r $testroot/repo -l > $testroot/stdout