From ae67ee620179dad28afd55c5e9a3a31c7f5b658e Mon Sep 17 00:00:00 2001 From: Russ Magee Date: Mon, 29 Jan 2024 21:47:03 -0800 Subject: [PATCH] Fixed CI script --- bacillus/ci_pushbuild.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 ############