t5000: integrate export-subst tests into regular tests
commitc420df7b9bbfcf352a3602c78e8476f18098bb43
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Mon, 20 May 2013 09:58:24 +0000 (20 11:58 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 May 2013 22:31:10 +0000 (20 15:31 -0700)
tree0bcd6377e9ef3bab214cc8d03625190ded7dde4d
parent5dbe064d8cf37142f8c76f73ae0866286a8fb018
t5000: integrate export-subst tests into regular tests

Instead of creating extra archives for testing substitutions, set the
attribute export-subst and overwrite the marked file with the expected
(expanded) content right between committing and archiving.  Thus
placeholder expansion based on the committed content is performed with
each archive creation and the comparison with the contents of directory
a yields the correct result.  We can then remove the special tests for
export-subst.

Signed-off-by: René Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5000-tar-tree.sh