Code

t9700/test.pl: remove File::Temp requirement
authorBrandon Casey <casey@nrlssc.navy.mil>
Mon, 15 Sep 2008 16:25:22 +0000 (11:25 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Sep 2008 06:11:28 +0000 (23:11 -0700)
commitbf55778855c2c95fdc4919a4d42ee68d348b75ef
tree269d1a1e0d671c7c7fa0fd8c711a9a1cd5c4c3ac
parent8409bb3708e1dd7c035617795c49e4ca7e17c56a
t9700/test.pl: remove File::Temp requirement

The object oriented version of File::Temp is a rather new incarnation it
seems. The File::Temp man page for v5.8.0 says "(NOT YET IMPLEMENTED)" in
the 'Objects' section. Instead of creating a file with a unique name in
the system TMPDIR, we can create our own temporary file with a static
name and use that instead.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Tested-by: Tom G. Christensen <tgc@statsbiblioteket.dk> on RHEL 3, Perl 5.8.0
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9700/test.pl