test-exec: prefer ENV['PWD'] in working_directory tests
commit00e04ecc9fda39fa77e2f7fd11834ea977ba9ee8
authorEric Wong <normalperson@yhbt.net>
Fri, 25 Jun 2010 18:29:13 +0000 (25 11:29 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 25 Jun 2010 18:36:05 +0000 (25 11:36 -0700)
treeca65a0c908da4a367a3f5ffa70a87c88a8d7c238
parentd9470b6358730fe9bef12cc9b7506e913ef91857
test-exec: prefer ENV['PWD'] in working_directory tests

We do an extra check in the application dispatch to ensure
ENV['PWD'] is set correctly to match Dir.pwd (even if the
string path is different) as this is required for Capistrano
deployments.

These tests should now pass under OSX where /var is apparently
a symlink to /private/var.
test/exec/test_exec.rb