Malcolm Nooning schrieb:
This is for whoever is now updating PAR-Packer.  Steffen?

Yep.

I am running tests from a Windows XP command prompt, perl 5.8.8.

I am testing PAR-Packer-0.970 in a directory that has a space in the path name.

I am using "nmake".

I can trace failures to two errors in the tests.
The first is an oversight. Please change contrib/automated_pp_test.pl line 274 from
       return;
to
       return $par_temp;

Applied locally. Will commit when openfoundry can be reached again.

The second is the additional double quotes in the line shown below. Please change t/30-current_exec.t line 37 from

        system( "$PP -o \"$EXEC\" \"$test_proc\"" );
to
        system( "\"$PP\" -o \"$EXEC\" \"$test_proc\"" );

It is needed because while testing, the fully qualified path name ($PP) could have blank spaces in it.

How about this:

system($PP, '-o', $EXEc, $test_proc);

Works fine here and circumvents shell issues altogether. I'm not sure "\"$PP\"" is portable.

Does this work for you?

Steffen

Reply via email to