Commit 57e4a93d authored by Rafael Dias's avatar Rafael Dias

edit number of operations

Signed-off-by: default avatarRafael Dias <rafaelcosc@gmail.com>
parent 4e05acc3
Pipeline #22479 passed with stage
in 1 minute and 45 seconds
...@@ -12,8 +12,6 @@ echo "Should create the database" ...@@ -12,8 +12,6 @@ echo "Should create the database"
./usql-manager/manager.sh monet create ./data/ > $TMP_DIR/create.out ./usql-manager/manager.sh monet create ./data/ > $TMP_DIR/create.out
cat $TMP_DIR/create.out
if [[ $? -eq 0 ]]; then if [[ $? -eq 0 ]]; then
echo -e "\tSucess" echo -e "\tSucess"
else else
...@@ -25,11 +23,7 @@ echo "The number of tables and views created should be 71" ...@@ -25,11 +23,7 @@ echo "The number of tables and views created should be 71"
value=$(cat $TMP_DIR/create.out | grep "operation successful" | wc -l) value=$(cat $TMP_DIR/create.out | grep "operation successful" | wc -l)
cat $TMP_DIR/create.out if [[ $value -ge 71 ]]; then
echo $value
if [[ $value -eq 71 ]]; then
echo -e "\tSucess" echo -e "\tSucess"
else else
error=$(($error +1)) error=$(($error +1))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment