diff --git a/bacillus/ci_pushbuild.sh b/bacillus/ci_pushbuild.sh index 9ecb3b6..c4a73f4 100755 --- a/bacillus/ci_pushbuild.sh +++ b/bacillus/ci_pushbuild.sh @@ -46,12 +46,12 @@ go test -v . ############ stage "Test(Authtoken)" ############ -if [ -f ~/.xs_id ]; then - echo "Clearing test user $USER ~/.xs_id file ..." - mv ~/.xs_id ~/.xs_id.bak +if [ -f ~/.config/xs/.xs_id ]; then + echo "Clearing test user $USER .xs_id file ..." + mv ~/.config/xs/.xs_id ~/.config/xs/.xs_id.bak fi -echo "Setting dummy authtoken in ~/.xs_id ..." -echo "localhost:${USER}:asdfasdfasdf" >~/.xs_id +echo "Setting dummy authtoken in .xs_id ..." +echo "localhost:${USER}:asdfasdfasdf" >~/.config/xs/.xs_id echo "Performing remote command on @localhost via authtoken login ..." tokentest=$(timeout 10 xs -x "echo -n FOO" @localhost) if [ "${tokentest}" != "FOO" ]; then @@ -91,9 +91,9 @@ stage "Test(xc C->S)" ############ echo "TODO ..." -if [ -f ~/.xs_id.bak ]; then - echo "Restoring test user $USER ~/.xs_id file ..." - mv ~/.xs_id.bak ~/.xs_id +if [ -f ~/.config/xs/.xs_id.bak ]; then + echo "Restoring test user $USER .xs_id file ..." + mv ~/.config/xs/.xs_id.bak ~/.config/xs/.xs_id fi ############