python-tuf/tests
Joshua Lock 4bd9b5ef6b Improve determinism of test repository generator
One of the created target files has its file permissions encoded in the
targets metadata via the custom attribute of the add_target() function.
On Linux-based OS the umask value of the environment the script is run
in can result in different octal permissions for the created file, i.e.
on Fedora the default umask is 0002 (default permissions 664) whereas
on Debian/Ubuntu the default umask is 0022 (default permissions 644).

Explicitly chown 'file1' to octal permissions 644 so that the generated
data has the same custom attributes for targets regardless of which
Linux host they are generated on.

Signed-off-by: Joshua Lock <jlock@vmware.com>
2020-03-11 11:35:37 +00:00
..
repository_data Improve determinism of test repository generator 2020-03-11 11:35:37 +00:00
ssl_certs Test: add https test with expired server certificate 2018-09-26 14:15:36 -04:00
.coveragerc Move omit to run section in .coveragerc 2019-07-11 14:32:49 +02:00
__init__.py Support ISO 8601, vendor iso8601, clean codebase. 2014-04-19 14:27:53 -04:00
aggregate_tests.py Install TUF in editable mode in tox builds 2019-07-11 14:32:49 +02:00
proxy_server.py fix-up tests package word spelling mistake 2019-08-30 22:31:00 +08:00
simple_https_server.py Test: add proxy certs and reorganize certs in test data dir 2018-09-21 13:13:52 -04:00
simple_server.py Fix failing AppVeyor Python2.7 tests 2020-02-24 16:32:26 +01:00
slow_retrieval_server.py DOC: Clarify and correct comments on download timeouts 2018-09-10 16:30:32 -04:00
test_arbitrary_package_attack.py just format 2019-09-17 13:11:48 +02:00
test_developer_tool.py Use TUF exceptions instead of SSL exceptions where appropriate 2019-09-17 11:19:04 +02:00
test_download.py Remove uses of securesystemslib.util.TempFile 2019-10-14 12:37:34 +02:00
test_endless_data_attack.py Fix 'IOError: [Error 0] Error' exception raised in test_endless_data_attack.py 2018-04-23 11:51:01 -04:00
test_exceptions.py Rename license files in modules 2018-02-05 11:31:19 -05:00
test_extraneous_dependencies_attack.py Modify URL comparison in test_extraneous_dependencies_attack.py 2018-04-20 10:58:57 -04:00
test_formats.py Remove deprecated securesystemslib.formats schemas 2019-09-17 10:28:10 +01:00
test_indefinite_freeze_attack.py test: extend sleep in testing after spawning server processes 2018-11-06 09:59:24 -05:00
test_init.py Rename license files in modules 2018-02-05 11:31:19 -05:00
test_key_revocation_integration.py fix-up some spelling mistakes 2019-09-26 00:52:21 +08:00
test_keydb.py Use TUF exceptions instead of SSL exceptions where appropriate 2019-09-17 11:19:04 +02:00
test_log.py Make sure the default log file doesn't exist prior to test condition 2018-06-18 10:42:09 -04:00
test_mirrors.py Minor cosmetic change to URL creation 2018-04-20 10:57:30 -04:00
test_mix_and_match_attack.py Use TUF exceptions instead of SSL exceptions where appropriate 2019-09-17 11:19:04 +02:00
test_multiple_repositories_integration.py Remove duplicate testing simple_server.py 2020-02-25 14:55:36 +01:00
test_proxy_use.py Merge pull request #803 from theupdateframework/test_delay_increases 2018-11-14 13:39:23 -05:00
test_replay_attack.py Modify URL comparison in test_replay_attack.py 2018-04-20 10:59:43 -04:00
test_repository_lib.py Update tests for removal of root.json from snapshot.json 2020-03-11 11:15:06 +00:00
test_repository_tool.py roledb: Make get_dirty_roles() return sorted list 2019-12-16 15:16:24 +01:00
test_roledb.py roledb: Make get_dirty_roles() return sorted list 2019-12-16 15:16:24 +01:00
test_root_versioning_integration.py Update unit tests affected by change to target filepaths 2018-04-06 13:18:33 -04:00
test_sig.py Update docs and comments in sig.py and test_sig.py 2020-01-10 11:26:07 +01:00
test_slow_retrieval_attack.py test: extend sleep in testing after spawning server processes 2018-11-06 09:59:24 -05:00
test_tutorial.py test: Misc update in test_tutorial 2019-12-16 15:16:24 +01:00
test_unittest_toolbox.py Rename license files in modules 2018-02-05 11:31:19 -05:00
test_updater.py Update tests for removal of root.json from snapshot.json 2020-03-11 11:15:06 +00:00
test_updater_root_rotation_integration.py Fix comment in root rotation updater test 2019-10-08 09:19:36 +02:00