Skip to content

Commit 4f71c74

Browse files
committed
Simplify running different instances of a server
1 parent ee04ca0 commit 4f71c74

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

protocol/writing-resource/slash-semantics-exclude.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Feature: With and without trailing slash cannot co-exist
1717
Given url resourceUrl
1818
And headers clients.alice.getAuthHeaders('GET', resourceUrl)
1919
When method GET
20-
* print response
2120
Then match [301, 404, 410] contains responseStatus
2221
2322
Given url resourceUrl

run.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,10 @@ shift
174174
echo "Running tests on $subject and reporting to $cwd/reports/$subject"
175175

176176
dockerargs+=('-v' "$cwd/reports/$outdir:/reports" "--env-file=$envfile")
177-
harnessargs=('--output=/reports' "--target=https://github.com/solid/conformance-test-harness/$subject")
177+
harnessargs=('--output=/reports')
178+
if ! [[ "$*" == *"--target="* ]]; then
179+
harnessargs+=("--target=https://github.com/solid/conformance-test-harness/$subject")
180+
fi
178181

179182
# ensure report directory exists
180183
mkdir -p reports/$subject

0 commit comments

Comments
 (0)