test a zero-byte environment file

This commit is contained in:
Jeff Epler 2023-07-07 11:28:42 -05:00
parent bfcb967edd
commit e8c7b4a9f4
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
2 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,8 @@ def run_test(key, content):
print(key, str(e))
run_test("key", b"")
for i in range(13):
run_test(f"key{i}", content_good)

View File

@ -1,3 +1,4 @@
key None
key0 'hello world'
key1 7
key2 '\n'