Skip to content

Commit

Permalink
fix a test error
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehenrich committed Feb 11, 2024
1 parent ddb317b commit 7e2f015
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_defaultRegistry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,11 @@ fi

# test regitstryQuery.solo
queryResult=`registryQuery.solo -r $defaultRegistryName --stonesDirectory`
queryResult=`realPath $queryResult`
expectedResult=`realPath $STONES_HOME/test_stones/stones`
echo "stonesDirectory QUERY=$queryResult"
if [ "$queryResult" != "$STONES_HOME/test_stones/stones" ]; then
echo "stonesDirectory query ($queryResult) does not equal expected result ($STONES_HOME/test_stones/stones"
if [ "$queryResult" != "$expectedResult" ]; then
echo "stonesDirectory query ($queryResult) does not equal expected result ($expectedResult)"
exit 1
fi
queryResult=`registryQuery.solo --GsDevKit_stones_root`
Expand Down

0 comments on commit 7e2f015

Please sign in to comment.