22 lines
517 B
Bash
22 lines
517 B
Bash
|
#!/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
|
||
|
|