mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
Update 'bacillus/ci_pushbuild.sh'
This commit is contained in:
parent
611b6853b2
commit
7901cd8809
1 changed files with 6 additions and 2 deletions
|
@ -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 ..."
|
||||||
|
if [ -f ~/.xs_id ]; then
|
||||||
mv ~/.xs_id ~/.xs_id.bak
|
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
|
||||||
|
if [ -f ~/.xs_id.bak ]; then
|
||||||
mv ~/.xs_id.bak ~/.xs_id
|
mv ~/.xs_id.bak ~/.xs_id
|
||||||
|
fi
|
||||||
|
|
||||||
############
|
############
|
||||||
stage "Test(S->C)"
|
stage "Test(S->C)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue