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) '' + }