From 24a89b680ddf50efc98d88f771083cf7b2de657b Mon Sep 17 00:00:00 2001 From: heat-wave Date: Wed, 7 Apr 2021 19:43:38 +0100 Subject: [PATCH] Disable sphinx tests to test loop devices limit hypothesis --- extras/test/00_create.sh | 22 +++++++++++----------- extras/test/10_operations.sh | 14 +++++++------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/extras/test/00_create.sh b/extras/test/00_create.sh index b610300..2c13b4c 100644 --- a/extras/test/00_create.sh +++ b/extras/test/00_create.sh @@ -15,17 +15,17 @@ test_expect_success 'Testing tomb creation: dig, forge and lock' ' tt_lock --tomb-pwd $DUMMYPASS ' -if test_have_prereq SPHINX ORACLE; then - test_export "sphinx_test" - test_expect_success 'Testing tomb creation: dig, forge and lock (sphinx password handling)' ' - tt_dig -s 20 && - tt_forge --tomb-pwd $DUMMYPASS --sphx-user $DUMMYUSER --sphx-host $DUMMYHOST && - print $(echo $DUMMYPASS | sphinx get $DUMMYUSER $DUMMYHOST) \ - | gpg --batch --passphrase-fd 0 --no-tty --no-options -d $tomb_key \ - | hexdump -C && - tt_lock --tomb-pwd $DUMMYPASS --sphx-user $DUMMYUSER --sphx-host $DUMMYHOST - ' -fi +# if test_have_prereq SPHINX ORACLE; then +# test_export "sphinx_test" +# test_expect_success 'Testing tomb creation: dig, forge and lock (sphinx password handling)' ' +# tt_dig -s 20 && +# tt_forge --tomb-pwd $DUMMYPASS --sphx-user $DUMMYUSER --sphx-host $DUMMYHOST && +# print $(echo $DUMMYPASS | sphinx get $DUMMYUSER $DUMMYHOST) \ +# | gpg --batch --passphrase-fd 0 --no-tty --no-options -d $tomb_key \ +# | hexdump -C && +# tt_lock --tomb-pwd $DUMMYPASS --sphx-user $DUMMYUSER --sphx-host $DUMMYHOST +# ' +# fi if test_have_prereq DOAS; then test_export "doas_test" diff --git a/extras/test/10_operations.sh b/extras/test/10_operations.sh index c9b1be9..c45d09c 100644 --- a/extras/test/10_operations.sh +++ b/extras/test/10_operations.sh @@ -44,13 +44,13 @@ if test_have_prereq LSOF; then ' fi -if test_have_prereq SPHINX ORACLE; then - test_export "sphinx_test" # Using already generated tomb - test_expect_success 'Testing open with good password (sphinx)' ' - tt_open --tomb-pwd $DUMMYPASS --sphx-user $DUMMYUSER --sphx-host $DUMMYHOST && - tt_close - ' -fi +# if test_have_prereq SPHINX ORACLE; then +# test_export "sphinx_test" # Using already generated tomb +# test_expect_success 'Testing open with good password (sphinx)' ' +# tt_open --tomb-pwd $DUMMYPASS --sphx-user $DUMMYUSER --sphx-host $DUMMYHOST && +# tt_close +# ' +# fi if test_have_prereq DOAS; then test_export "doas_test" # Using already generated tomb