l10n: sv.po: Update Swedish translation (3288t0f0u)
[gitweb.git] / t / t7519-status-fsmonitor.sh
index c6df85af5ee2d401d69a4eeabd3a48dc73030963..eb2d13bbcf8abefd7af2be6f9cb3bf97e389ab15 100755 (executable)
@@ -301,4 +301,17 @@ do
        done
 done
 
+# test that splitting the index dosn't interfere
+test_expect_success 'splitting the index results in the same state' '
+       write_integration_script &&
+       dirty_repo &&
+       git update-index --fsmonitor  &&
+       git ls-files -f >expect &&
+       test-dump-fsmonitor >&2 && echo &&
+       git update-index --fsmonitor --split-index &&
+       test-dump-fsmonitor >&2 && echo &&
+       git ls-files -f >actual &&
+       test_cmp expect actual
+'
+
 test_done