Commit 64a290f6 authored by Rafael Dias's avatar Rafael Dias

debug monet

Signed-off-by: default avatarRafael Dias <rafaelcosc@gmail.com>
parent a4d51838
Pipeline #22476 failed with stage
in 1 minute and 45 seconds
......@@ -12,8 +12,6 @@ echo "Should create the database"
./usql-manager/manager.sh monet create ./data/ &> $TMP_DIR/create.out
cat $TMP_DIR/create.out
if [[ $? -eq 0 ]]; then
echo -e "\tSucess"
else
......@@ -25,6 +23,8 @@ echo "The number of tables and views created should be 71"
value=$(cat $TMP_DIR/create.out | grep "operation successful" | wc -l)
echo $value
if [[ $value -eq 71 ]]; then
echo -e "\tSucess"
else
......@@ -36,8 +36,6 @@ echo "Should load the fixtures"
./usql-manager/manager.sh monet fixture ./data/ &> $TMP_DIR/fixture.out
cat $TMP_DIR/fixture.out
if [[ $? -eq 0 ]]; then
echo -e "\tSucess"
else
......@@ -49,8 +47,6 @@ echo "All 32 table should have 4 records"
value=$(cat $TMP_DIR/fixture.out | grep "4 affected rows" | wc -l)
cat $TMP_DIR/fixture.out
if [[ $value -eq 32 ]]; then
echo -e "\tSucess"
else
......
......@@ -12,8 +12,6 @@ echo "Should create the database"
./usql-manager/manager.sh psql create ./data/ &> $TMP_DIR/create.out
cat $TMP_DIR/create.out
if [[ $? -eq 0 ]]; then
echo -e "\tSucess"
else
......@@ -49,8 +47,6 @@ echo "All 29 table should have 4 records"
value=$(cat $TMP_DIR/fixture.out | grep "COPY 4" | wc -l)
cat $TMP_DIR/fixture.out
if [[ $value -eq 32 ]]; then
echo -e "\tSucess"
else
......
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