diff options
| -rwxr-xr-x | grasp-audit/test-ngit-relay.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/grasp-audit/test-ngit-relay.sh b/grasp-audit/test-ngit-relay.sh index ff6ac1a..2f43042 100755 --- a/grasp-audit/test-ngit-relay.sh +++ b/grasp-audit/test-ngit-relay.sh | |||
| @@ -1,6 +1,11 @@ | |||
| 1 | #!/bin/bash | 1 | #!/bin/bash |
| 2 | set -e | 2 | set -e |
| 3 | 3 | ||
| 4 | # Change to script's directory to ensure cargo finds grasp-audit/Cargo.toml | ||
| 5 | # This allows the script to be run from any directory | ||
| 6 | SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
| 7 | cd "$SCRIPT_DIR" | ||
| 8 | |||
| 4 | # ============================================================================= | 9 | # ============================================================================= |
| 5 | # Script: test-ngit-relay.sh | 10 | # Script: test-ngit-relay.sh |
| 6 | # Purpose: Test ngit-relay against GRASP specifications | 11 | # Purpose: Test ngit-relay against GRASP specifications |