update doc structure
This commit is contained in:
@@ -32,6 +32,13 @@ lock = {'format': 1, 'version': '0.1.0', 'void_commit': 'a' * 40, 'source_epoch'
|
||||
snapshot = work / 'snapshot'
|
||||
(snapshot / 'project').mkdir(parents=True)
|
||||
(snapshot / 'project/source.txt').write_bytes(b'bounded input fixture\n')
|
||||
# Freeze the real manual as ordinary files, never a pointer to this checkout's
|
||||
# Git metadata. Archive round-trip and lock checks below cover these files too.
|
||||
assert 'fds-os.wiki' in frozen.OWNED
|
||||
frozen.copy(project / 'fds-os.wiki', snapshot / 'project/fds-os.wiki')
|
||||
assert not (snapshot / 'project/fds-os.wiki/.git').exists()
|
||||
for source in (project / 'fds-os.wiki').glob('*.md'):
|
||||
assert (snapshot / 'project/fds-os.wiki' / source.name).read_bytes() == source.read_bytes()
|
||||
(snapshot / 'temporary').mkdir()
|
||||
(snapshot / 'temporary').chmod(0o1777)
|
||||
(snapshot / 'project/executable').write_bytes(b'archive mode fixture\n')
|
||||
|
||||
Reference in New Issue
Block a user