sapling/eden/integration/hg
Chad Austin 6db3bf461d fix truncation not marking files as modified
Summary:
If a file was partially truncated, it would not always be marked as
materialized. During materialization, the SHA-1 would be cached,
but not invalidated after the truncation.

Write tests that ensure that both ftruncate and O_TRUNC mark files as
modified.

Reviewed By: simpkins

Differential Revision: D13329102

fbshipit-source-id: f09fdc5f11f1da25e1b4453de1b29d1390b3dc71
2018-12-04 16:27:46 -08:00
..
lib add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
absorb_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
add_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
branch_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
commit_test.py update HgRepository.hg() to always return a string 2018-11-16 19:47:48 -08:00
copy_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
debug_clear_local_caches_test.py add member type annotations to make pyre happy 2018-11-14 13:03:09 -08:00
debug_hg_dirstate_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
debug_hg_get_dirstate_tuple_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
diff_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
files_test.py Upgrade to 18.5b1 2018-05-30 01:11:47 -07:00
fold_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
graft_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
grep_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
histedit_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
journal_test.py add member type annotations to make pyre happy 2018-11-14 13:03:09 -08:00
merge_test.py add member type annotations to make pyre happy 2018-11-14 13:03:09 -08:00
move_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
negative_caching_test.py add member type annotations to make pyre happy 2018-11-14 13:03:09 -08:00
non_eden_operation_test.py re-enable test_hg_clone_non_eden_repo_within_eden_repo for treemanifest 2018-11-06 18:08:09 -08:00
post_clone_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
pull_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
README.md move integration tests to eden/integration 2017-01-31 14:41:14 -08:00
rebase_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
revert_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
rm_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
rollback_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
sparse_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
split_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
status_deadlock_test.py add member type annotations to make pyre happy 2018-11-14 13:03:09 -08:00
status_test.py fix truncation not marking files as modified 2018-12-04 16:27:46 -08:00
storage_engine_test.py restructure storage_engine_test to make the type checkers happy 2018-11-16 19:47:47 -08:00
symlink_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
undo_test.py add type annotations to most of the integration test functions 2018-11-16 19:47:48 -08:00
update_flatmanifest_test.py fix the remaining type errors in eden python code 2018-11-19 18:30:31 -08:00
update_test.py add member type annotations to make pyre happy 2018-11-14 13:03:09 -08:00

Integration tests in this directory are specific to the Eden extension for Mercurial.

Most tests will want to subclass HgExtensionTestBase.