diff 3da8ef855d7d7b3da96a9f1cba55df276e112f11 /home/lucas/code/git/git.gameoftrees.org/got blob - 8c612fafa7e7fd1f96dfce1527ee0b2f621e0f8c file + regress/cmdline/histedit.sh --- regress/cmdline/histedit.sh +++ regress/cmdline/histedit.sh @@ -150,12 +150,18 @@ test_histedit_no_op() { return 1 fi - # We should have a backup of old commits - (cd $testroot/repo && got histedit -l > $testroot/stdout) - d_orig2=`date -u -r $old_author_time2 +"%a %b %e %X %Y UTC"` - d_new2=`date -u -r $new_author_time2 +"%G-%m-%d"` - d_orig=`date -u -r $orig_author_time +"%G-%m-%d"` - cat > $testroot/stdout.expected < $testroot/stdout) + d_orig2=`date -u -r $old_author_time2 +"%a %b %e %X %Y UTC"` + d_new2=`date -u -r $new_author_time2 +"%G-%m-%d"` + d_orig=`date -u -r $orig_author_time +"%G-%m-%d"` + cat > $testroot/stdout.expected <