Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 8d41dce

Browse files
committed
CI: fix all remaining tests
1 parent 3401774 commit 8d41dce

4 files changed

+8
-4
lines changed

tests/nancy_run_localhost_simple_dump.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ output=$(
1414
--tmp-path $srcDir/tmp 2>&1
1515
)
1616

17-
if [[ $output =~ "Errors: 0:" ]]; then
17+
regex="Errors:[[:blank:]]*0"
18+
if [[ $output =~ $regex ]]; then
1819
echo -e "\e[36mOK\e[39m"
1920
else
2021
>&2 echo -e "\e[31mFAILED\e[39m"

tests/nancy_run_localhost_simple_dump_with_index.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ output=$(
1616
--target-ddl-undo "drop index i_speedup;" 2>&1
1717
)
1818

19-
if [[ $output =~ "Errors: 0:" ]]; then
19+
regex="Errors:[[:blank:]]*0"
20+
if [[ $output =~ $regex ]]; then
2021
echo -e "\e[36mOK\e[39m"
2122
else
2223
>&2 echo -e "\e[31mFAILED\e[39m"

tests/nancy_run_localhost_simple_gz_dump.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ output=$(
1414
--tmp-path $srcDir/tmp 2>&1
1515
)
1616

17-
if [[ $output =~ "Errors: 0:" ]]; then
17+
regex="Errors:[[:blank:]]*0"
18+
if [[ $output =~ $regex ]]; then
1819
echo -e "\e[36mOK\e[39m"
1920
else
2021
>&2 echo -e "\e[31mFAILED\e[39m"

tests/nancy_run_localhost_simple_sql_dump.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ output=$(
1414
--tmp-path $srcDir/tmp 2>&1
1515
)
1616

17-
if [[ $output =~ "Errors: 0:" ]]; then
17+
regex="Errors:[[:blank:]]*0"
18+
if [[ $output =~ $regex ]]; then
1819
echo -e "\e[36mOK\e[39m"
1920
else
2021
>&2 echo -e "\e[31mFAILED\e[39m"

0 commit comments

Comments
 (0)