Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ jobs:
name: Tests
command: |
errcount=0
printTail=" "
for f in tests/*.sh; do
printf "$f\t\t"
printf "$f${printTail:0:-${#f}}"
bash "$f" -H
status=$?
if [ $status -ne 0 ]; then
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![CircleCI](https://circleci.com/gh/startupturbo/nancy.svg?style=svg)](https://circleci.com/gh/startupturbo/nancy)

Description
===
Nancy helps to conduct automated database experiments.
Expand Down
1 change: 1 addition & 0 deletions tests/nancy_cli_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ if [[ $output =~ "ERROR: AWS keys not given" ]]; then
echo -e "\e[36mOK\e[39m"
else
>&2 echo -e "\e[31mFAILED\e[39m"
>&2 echo -e "Output: $output"
exit 1
fi
1 change: 1 addition & 0 deletions tests/nancy_cli_run_no_optons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ if [[ $output =~ "ERROR: AWS keys not given" ]]; then
echo -e "\e[36mOK\e[39m"
else
>&2 echo -e "\e[31mFAILED\e[39m"
>&2 echo -e "Output: $output"
exit 1
fi
1 change: 1 addition & 0 deletions tests/nancy_cli_unknown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ if [[ $output =~ "ERROR: Unknown command" ]]; then
echo -e "\e[36mOK\e[39m"
else
>&2 echo -e "\e[31mFAILED\e[39m"
>&2 echo -e "Output: $output"
exit 1
fi
1 change: 1 addition & 0 deletions tests/nancy_run_localhost_simple_dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ if [[ $output =~ "Queries duration:" ]]; then
echo -e "\e[36mOK\e[39m"
else
>&2 echo -e "\e[31mFAILED\e[39m"
>&2 echo -e "Output: $output"
exit 1
fi
1 change: 1 addition & 0 deletions tests/nancy_run_localhost_simple_dump_with_index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ if [[ $output =~ "Queries duration:" ]]; then
echo -e "\e[36mOK\e[39m"
else
>&2 echo -e "\e[31mFAILED\e[39m"
>&2 echo -e "Output: $output"
exit 1
fi
1 change: 1 addition & 0 deletions tests/nancy_run_no_options.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ if [[ $output =~ "ERROR: AWS keys not given" ]]; then
echo -e "\e[36mOK\e[39m"
else
>&2 echo -e "\e[31mFAILED\e[39m"
>&2 echo -e "Output: $output"
exit 1
fi
1 change: 1 addition & 0 deletions tests/nancy_run_options_no_instance_type.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ if [[ $output =~ "ERROR: AWS EC2 Instance type not given." ]]; then
exit 0
else
>&2 echo -e "\e[31mFAILED\e[39m"
>&2 echo -e "Output: $output"
exit 1
fi