Skip to content

Commit

Permalink
Issue #161 add a topaz RPC login test ... in last commit, a tode symb…
Browse files Browse the repository at this point in the history
…olic link was added: $GS_HOME/server/stones/<stone-name>/tode that references $GS_HOME/sys/local/server/stones/<stone-name> to make it possible to easily bounce to the tODE scripts the GemStone stone directory structure ...
  • Loading branch information
dalehenrich committed Jan 27, 2017
1 parent 70a2e41 commit c68de9f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/basicTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,17 @@ todeLoad ${STONENAME4}
#create a tODE stone
createStone -t $todeSnapshot ${STONENAME3} $GS_VERSION

# RPC login (Issue #161)
startTopaz ${STONENAME3} << EOF
login
run
3+4
%
logout
exit 0
EOF

# Linked login
startTopaz ${STONENAME3} -l << EOF
login
run
Expand All @@ -114,6 +125,7 @@ logout
exit 0
EOF


cd $GS_HOME/sys/stones/${STONENAME3}
ls dirs.ston home homeComposition.ston packages.ston projectComposition.ston projects repos.ston
todeIt ${STONENAME3} eval \`3+4\`\; eval \`self == 7 ifFalse: [ System logout ]\`
Expand Down

0 comments on commit c68de9f

Please sign in to comment.