From: Ævar Arnfjörð Bjarmason Date: Thu, 19 Aug 2010 16:08:08 GMT Subject: [PATCH v3 0/4] Support for running tests outside t/ + don't run a TODO test Message-ID: <1282234092-27429-1-git-send-email-avarab@gmail.com> In-Reply-To: <1282138473-15613-1-git-send-email-avarab@gmail.com> This *really* v3, I just sent another copy of v2 unchanged accidentally (this is really not my day). This one: * Fixes a trivial shell syntax error in the last patch (oops!) * Uses #!$SHELL_PATH for a shebang instead of #!/bin/sh in the file we're about to write out. This now passes e.g. on Solaris which has an insane /bin/sh. As an aside there's a bunch of other things in our tests that are writing out shellscripts with a #!/bin/sh shebang instead of #!$SHELL_PATH. These are passing purely by accident since they just happen to use shell syntax that doesn't run afoul of grumpy old shells like Solaris's /bin/sh. Ævar Arnfjörð Bjarmason (4): test-lib: Use $TEST_DIRECTORY or $GIT_BUILD_DIR instead of $(pwd) and ../ test-lib: Use "$GIT_BUILD_DIR" instead of "$TEST_DIRECTORY"/../ test-lib: Allow overriding of TEST_DIRECTORY t/t0000-basic.sh: Run the passing TODO test inside its own test-lib t/t0000-basic.sh | 31 +++++++++++++++++++++++++++++++ t/test-lib.sh | 39 +++++++++++++++++++++++---------------- 2 files changed, 54 insertions(+), 16 deletions(-) -- 1.7.2.1.446.g168052