From 4281155ccb8be20184a29a8a8937bfb9cc404fd9 Mon Sep 17 00:00:00 2001 From: Vladimir Grichina Date: Fri, 20 Sep 2019 01:13:35 -0700 Subject: [PATCH] Fix tests --- test/index.sh | 2 +- test/test_account_operations.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/index.sh b/test/index.sh index 861aa0a3..3b524965 100755 --- a/test/index.sh +++ b/test/index.sh @@ -1,5 +1,5 @@ #!/bin/bash -OVERALL_RESULT=$(true) +OVERALL_RESULT=0 for test in ./test/test_*; do echo "" echo "Running $test" diff --git a/test/test_account_operations.sh b/test/test_account_operations.sh index d8c40cee..841906b3 100755 --- a/test/test_account_operations.sh +++ b/test/test_account_operations.sh @@ -1,5 +1,7 @@ #!/bin/bash set -ex +rm -rf tmp-project +./bin/near new_project 'tmp-project' cd tmp-project timestamp=$(date +%s) testaccount=testaccount$timestamp