Merge branch 'en/and-cascade-tests'
[gitweb.git] / t / t1504-ceiling-dirs.sh
index e377d48902cd5fd539a0ce4cb1fb32ceb8732632..cce87a5ab523d3a4232e9e11863aa3a6e8ca0211 100755 (executable)
@@ -9,11 +9,12 @@ test_prefix() {
 }
 
 test_fail() {
-       test_expect_code 128 "$1: prefix" \
-       "git rev-parse --show-prefix"
+       test_expect_success "$1: prefix" '
+               test_expect_code 128 git rev-parse --show-prefix
+       '
 }
 
-TRASH_ROOT="$(pwd)"
+TRASH_ROOT="$PWD"
 ROOT_PARENT=$(dirname "$TRASH_ROOT")