diff options
Diffstat (limited to '')
| -rwxr-xr-x | test | 1 | ||||
| -rwxr-xr-x | test-radar-base.sh | 28 | 
2 files changed, 29 insertions, 0 deletions
| @@ -1,5 +1,6 @@  #!/bin/sh +./test-radar-base.sh  ./test-directories.sh  ./test-commits.sh  ./test-branches.sh diff --git a/test-radar-base.sh b/test-radar-base.sh new file mode 100755 index 0000000..9f7f8ee --- /dev/null +++ b/test-radar-base.sh @@ -0,0 +1,28 @@ +scriptDir="$(cd "$(dirname "$0")"; pwd)" + +source "$scriptDir/radar-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
\ No newline at end of file | 
