diff options
author | Johannes Sixt <j6t@kdbg.org> | 2009-02-27 22:20:57 +0100 |
---|---|---|
committer | Johannes Sixt <j6t@kdbg.org> | 2009-03-22 17:26:44 +0100 |
commit | 872f349e7b119fcef7306f5dd7e4492ee3598318 (patch) | |
tree | 9e9ae49455befd3ac15a2d80079d8d494c86f10f /t/t3701-add-interactive.sh | |
parent | 56e78bfb299207213ff170238c34a1dc8fa67c09 (diff) | |
download | git-872f349e7b119fcef7306f5dd7e4492ee3598318.tar.gz |
Skip tests that fail if the executable bit is not handled by the filesystem
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Diffstat (limited to 't/t3701-add-interactive.sh')
-rwxr-xr-x | t/t3701-add-interactive.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/t/t3701-add-interactive.sh b/t/t3701-add-interactive.sh index e95663d8e6..fe017839c4 100755 --- a/t/t3701-add-interactive.sh +++ b/t/t3701-add-interactive.sh @@ -135,10 +135,12 @@ test_expect_success 'real edit works' ' if test "$(git config --bool core.filemode)" = false then - say 'skipping filemode tests (filesystem does not properly support modes)' + say 'skipping filemode tests (filesystem does not properly support modes)' else + test_set_prereq FILEMODE +fi -test_expect_success 'patch does not affect mode' ' +test_expect_success FILEMODE 'patch does not affect mode' ' git reset --hard && echo content >>file && chmod +x file && @@ -147,7 +149,7 @@ test_expect_success 'patch does not affect mode' ' git diff file | grep "new mode" ' -test_expect_success 'stage mode but not hunk' ' +test_expect_success FILEMODE 'stage mode but not hunk' ' git reset --hard && echo content >>file && chmod +x file && @@ -156,7 +158,6 @@ test_expect_success 'stage mode but not hunk' ' git diff file | grep "+content" ' -fi # end of tests disabled when filemode is not usable test_done |