www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 969d5bb4a024b17cd322a474599989126495cd27
parent 78c235875c7b7ce9f1b13a0789f7390a39020d83
Author: Suzanne Soy <git@suzanne.soy>
Date:   Sun, 21 Feb 2021 20:26:00 +0000

debug

Diffstat:
Mtest.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test.py b/test.py @@ -29,10 +29,10 @@ with tempfile.TemporaryDirectory(prefix="test", dir="/tmp") as tempdir: os.system('sqlite3 '+tempdir+'/test/foo/baz/db "drop table rnd;"') #os.system('sqlite3 '+tempdir+'/test/foo/baz/db "vacuum;"') os.system('echo a > '+tempdir+'/test/foo/baz/titi') - os.system('cp -ai '+tempdir+' /tmp/xxx') h = subprocess.check_output([os.path.abspath('./hash-files.py'), 'test/foo'], cwd=tempdir).strip() if h == b'e8e0e538fa2a79a6c03d5575734bb77ee8c8734b07201d3d7dfc289c118d81a4': print("test passed") else: print("TEST FAILED: got hash " + repr(h)) + os.system("tar -Jcf- . | xxd", cwd=tempdir) exit(1) \ No newline at end of file