From 409ae9eb98142fca0a4191060274da4b14097577 Mon Sep 17 00:00:00 2001 From: udsamani Date: Wed, 9 Oct 2024 07:16:56 +0100 Subject: [PATCH] fix update.sh test --- test/update.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) mode change 100644 => 100755 test/update.sh diff --git a/test/update.sh b/test/update.sh old mode 100644 new mode 100755 index c760a68a3e..38cb5567d3 --- a/test/update.sh +++ b/test/update.sh @@ -1,10 +1,10 @@ #!bin/bashtub -# source bin/bacalhau.sh + source bin/bacalhau.sh -# testcase_default_config_has_updates_enabled() { -# subject bacalhau config list --output=csv -# assert_equal 0 $status -# assert_not_equal $(echo "$stdout" | grep 'update.checkfrequency' | cut -d, -f2) '0' -# assert_not_equal $(echo "$stdout" | grep 'update.checkfrequency' | cut -d, -f2) '' -# } + testcase_default_config_has_updates_enabled() { + subject bacalhau config list --output=csv + assert_equal 0 $status + assert_not_equal $(echo "$stdout" | grep 'UpdateConfig.Interval' | cut -d, -f2) '0' + assert_not_equal $(echo "$stdout" | grep 'UpdateConfig.Interval' | cut -d, -f2) '' + }