diff options
author | Malfurious <m@lfurio.us> | 2021-03-24 05:06:23 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2021-03-24 05:06:23 -0400 |
commit | 5843144165acfacef93ca5d6e2a561a5cf6059dc (patch) | |
tree | b0d7cc919869213ef50f718c5ddbfa3fddd4323f /test-sonar-base.sh | |
parent | b3ba62d18900b3f04f13c26480e91ecfc4e49db7 (diff) | |
download | git-sonar-5843144165acfacef93ca5d6e2a561a5cf6059dc.tar.gz git-sonar-5843144165acfacef93ca5d6e2a561a5cf6059dc.zip |
Rename files to git-sonar
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'test-sonar-base.sh')
-rwxr-xr-x | test-sonar-base.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test-sonar-base.sh b/test-sonar-base.sh new file mode 100755 index 0000000..7c0c742 --- /dev/null +++ b/test-sonar-base.sh @@ -0,0 +1,29 @@ +#!/bin/bash +scriptDir="$(cd "$(dirname "$0")"; pwd)" + +source "$scriptDir/sonar-base.sh" + +test_show_remote_status() { + show_remote_status + assertTrue $? + + show_remote_status --bash + assertTrue $? + + show_remote_status --bash --fetch + assertTrue $? + + show_remote_status --bash --no-remote-status --fetch + assertFalse $? + + show_remote_status --bash --fetch --no-remote-status + assertFalse $? + + show_remote_status --no-remote-status --bash --fetch + assertFalse $? + + show_remote_status --bash --fetch --minimal --no-remote-status + assertFalse $? +} + +. ./shunit/shunit2 |