Skip to content

Commit

Permalink
fix update.sh test
Browse files Browse the repository at this point in the history
  • Loading branch information
udsamani committed Oct 9, 2024
1 parent d2219bd commit 409ae9e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/update.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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) ''
}

0 comments on commit 409ae9e

Please sign in to comment.