From a660055b5390cec1ba4de9b8b01f33d71684f0c8 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 24 Jun 2022 21:57:08 -0700 Subject: [PATCH] ... --- Makefile.am | 1 + test/wallet_dump_descriptors_correctness.tests.sh | 2 +- test/wallets_clean.tests.sh | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 24642c4..c4e4179 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,6 +19,7 @@ cold_SOURCES += \ check-local: @head -n `grep -n "main()" cold-setup | cut -f1 -d:` cold-setup | head -n -1 > test/source.sh @cd test && run-parts --exit-on-error --regex '.*\.tests\.sh' . + @rm -rf test/.testdir clean-local: -find .data -name "wallet.dat" -exec shred {} \; diff --git a/test/wallet_dump_descriptors_correctness.tests.sh b/test/wallet_dump_descriptors_correctness.tests.sh index 77afe14..a1f3cb2 100755 --- a/test/wallet_dump_descriptors_correctness.tests.sh +++ b/test/wallet_dump_descriptors_correctness.tests.sh @@ -23,7 +23,7 @@ fa731c649b6dce35dfacabe7bc863462170f4cc612c84957320ee65a1c9ef85b20222c0c199e0f42 f86b85d9ff88604e1669beaf37138674671d024decb7ff801543208209b387ccce466dc970b1e5b7c3a3a99511ce034e2aa9585208ef3cc3e9a5a52c7cd6a1c9 $DATA_DIRECTORY/wallet4.descriptors 13cbc0c1b4911720cdda5e0fa8f10bb2798aa34bf03f32ffcebf194f5c664e7082192c58ae4f3812789f24ac96127d105315658e70801315fe6987e0530d36f3 $DATA_DIRECTORY/wallet5.descriptors 0b3d072b59b4c01161daff81467fda485ee97360767d79c3d5161f783ae4ac282ec03dc2d9bb33b490006df85f62d5b676e178589f6c67c178c4c4300a231783 $DATA_DIRECTORY/wallet6.descriptors -df5d6ac961e6008ab83ab1e4843cb52628f2250d84df467dffd3b208c290e2d0125de6f12faf9f47ee1201703084f8a06b18772e434d7fa5f40424bcd86a03a6 $DATA_DIRECTORY/wallet7.descriptors" +704a31f6f13506b8edb40ce6626dd6b632ec31982c9f6d26adcda897fc1c62400e567d5323179e6289661d36deb41243f5d2f576d2e446867d1e9c52930a7436 $DATA_DIRECTORY/wallet7.descriptors" RESULT="`b2sum $DATA_DIRECTORY/*.descriptors`" assert "$EXPECTED" "$RESULT" diff --git a/test/wallets_clean.tests.sh b/test/wallets_clean.tests.sh index 94f23cf..21429a8 100755 --- a/test/wallets_clean.tests.sh +++ b/test/wallets_clean.tests.sh @@ -14,4 +14,6 @@ wallets_clean assert "0" "`find "$DATA_DIRECTORY" -name "wallet.dat" | wc -l`" +clean_env + test_succeeded -- 2.30.2