Subject: | Test Fails w/Spaces in path |
30sqlt-diff.t (and probably others) fail when there's a space in the path (OSX, perlbrew,
Application Support)
claco@mbp ~/Library/Application Support/.cpan/build/SQL-Translator-0.11006-GfF5mD $
prove -lr t/30sqlt-diff.t
t/30sqlt-diff.t .. 1/21 Can't open perl script "/Users/claco/Library/Application": No such file
or directory
For example:
my @cmd = ($^X, $sqlt_diff, "$create1=SQLite", "$create2=SQLite");
changing this to:
my @cmd = ($^X, "\"$sqlt_diff\"", "\"$create1\"=SQLite", "\"$create2\"=SQLite");
makes more tests pass. This happens 3-4 times in the various files.