fix test suite's dependency on time zone

I had not remembered that the 'tc' subcommand in tsh adds *text* that
contains the current time, so commit SHAs were changing.

Thanks to milki for catching this, and in fact being the only person who
ever appears to have attempted to run the test suite at all!
This commit is contained in:
Sitaram Chamarty 2012-04-28 04:54:05 +05:30
parent eabcf83dee
commit 7d6b04605d

View file

@ -583,7 +583,7 @@ sub dummy_commits {
test_tick();
next;
}
my $ts = ( $tick ? localtime($tick) : localtime() );
my $ts = ( $tick ? gmtime($tick+19800) : gmtime() );
_sh("echo $f at $ts >> $f && git add $f && git commit -m '$f at $ts'");
}
}