gpu-compute-chain/tests/test_auction_flow.sh

22 lines
517 B
Bash
Raw Normal View History

2022-09-02 13:48:12 -07:00
#!/bin/bash
# import utilities
HERE=$(cd $(dirname $BASH_SOURCE) && pwd)
source $HERE/testutil.sh
# log commands
# set -x
log_test "Typical Auction Flow"
out=$(cosmos-testd tx cosmostest new-auction asdf asdf utoken -y --from bob --chain-id cosmostest)
expect_success $out
log_test "Failed Bidding Edge Cases"
# out=$(cosmos-testd tx cosmostest new-bid 0 800 -y --from bob --chain-id cosmostest | expect_fail)
# expect_success $out
# cosmos-testd tx cosmostest new-bid 0 800 --from bob --chain-id cosmostest