dir.c: fix missing dir invalidation in untracked code
[gitweb.git] / t / t1501-work-tree.sh
index 046d9b7909f468b3e9c604641d3088e687da6db0..b06210ec5e8ffa30b59314b1c79ebc9bdb8f6476 100755 (executable)
@@ -423,7 +423,7 @@ test_expect_success '$GIT_WORK_TREE overrides $GIT_DIR/common' '
        )
 '
 
-test_expect_failure 'error out gracefully on invalid $GIT_WORK_TREE' '
+test_expect_success 'error out gracefully on invalid $GIT_WORK_TREE' '
        (
                GIT_WORK_TREE=/.invalid/work/tree &&
                export GIT_WORK_TREE &&