mirror of https://gogs.blitter.com/RLabs/xs
Fixed bacillus CI script
This commit is contained in:
parent
83cd38c651
commit
9ba07719cd
|
@ -42,7 +42,7 @@ if [ -f ~/.xs_id ]; then
|
||||||
mv ~/.xs_id ~/.xs_id.bak
|
mv ~/.xs_id ~/.xs_id.bak
|
||||||
fi
|
fi
|
||||||
echo "Setting dummy authtoken in ~/.xs_id ..."
|
echo "Setting dummy authtoken in ~/.xs_id ..."
|
||||||
echo "localhost:asdfasdfasdf" >~/.xs_id
|
echo "localhost:${USER}:asdfasdfasdf" >~/.xs_id
|
||||||
echo "Performing remote command on @localhost via authtoken login ..."
|
echo "Performing remote command on @localhost via authtoken login ..."
|
||||||
tokentest=$(timeout 10 xs -x "echo -n FOO" @localhost)
|
tokentest=$(timeout 10 xs -x "echo -n FOO" @localhost)
|
||||||
if [ "${tokentest}" != "FOO" ]; then
|
if [ "${tokentest}" != "FOO" ]; then
|
||||||
|
|
Loading…
Reference in New Issue