Update 'bacillus/ci_pushbuild.sh'

This commit is contained in:
Russtopia 2020-08-21 19:49:17 -07:00
parent 611b6853b2
commit 7901cd8809
1 changed files with 6 additions and 2 deletions

View File

@ -38,7 +38,9 @@ go test -v .
stage "Test(Authtoken)" stage "Test(Authtoken)"
############ ############
echo "Clearing test user $USER ~/.xs_id file ..." echo "Clearing test user $USER ~/.xs_id file ..."
mv ~/.xs_id ~/.xs_id.bak if [ -f ~/.xs_id ]; then
mv ~/.xs_id ~/.xs_id.bak
fi
echo "Setting dummy authtoken in ~/.xs_id ..." echo "Setting dummy authtoken in ~/.xs_id ..."
echo "localhost:asdfasdfasdf" >~/.xs_id echo "localhost:asdfasdfasdf" >~/.xs_id
echo "Performing remote command on @localhost via authtoken login ..." echo "Performing remote command on @localhost via authtoken login ..."
@ -50,7 +52,9 @@ else
echo "client cmd performed OK." echo "client cmd performed OK."
unset tokentest unset tokentest
fi fi
mv ~/.xs_id.bak ~/.xs_id if [ -f ~/.xs_id.bak ]; then
mv ~/.xs_id.bak ~/.xs_id
fi
############ ############
stage "Test(S->C)" stage "Test(S->C)"