From 0799e6f828642ac79062f0b7f81baae4863395f9 Mon Sep 17 00:00:00 2001 From: jeremy avnet Date: Mon, 9 Sep 2024 15:23:56 -0700 Subject: [PATCH] Debug Windows -- is it because of the long file "extension" --- tests/test_shelve2json.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_shelve2json.sh b/tests/test_shelve2json.sh index 7301128..477b38b 100644 --- a/tests/test_shelve2json.sh +++ b/tests/test_shelve2json.sh @@ -1,8 +1,7 @@ #!/usr/bin/env bash set -e -x -#tmp=$(mktemp) -tmp="test" +tmp=$(mktemp tmp-XXXXXXXXXX) uname -s rm -f "$tmp" python3 -c 'import shelve; db=shelve.open("'"$tmp"'", flag="n"); db["eggs"] = "eggs"; db.sync(); db.close()'