Rename spec/ submodule to specs

This commit is contained in:
southerntofu 2022-02-23 23:51:23 +01:00
parent f638f402c5
commit e6830b3eed
1 changed files with 8 additions and 8 deletions

View File

@ -20,18 +20,18 @@ function testOrError() {
function testVariousScenarios() {
echo "Running various tests from "$(pwd)""
testOrError "bin/test.sh running from repo" bin/test.sh
cd spec
cd specs
testOrError "forgecheck/test.sh with implicit ../bin/cli" forgecheck/test.sh
testOrError "forgecheck/test.sh with explicit result from ../bin/cli" forgecheck/test.sh "$(../bin/cli)"
testOrError "test.sh called from spec submodule" ../bin/test.sh
testOrError "test.sh called from specs submodule" ../bin/test.sh
cd forgecheck
testOrError "bin/test.sh from spec/forgecheck folder" ../../bin/test.sh
testOrError "forgecheck/test.sh from spec/forgecheck folder with implicit ../../bin/cli" ./test.sh
testOrError "forgecheck/test.sh from spec/forgecheck folder with explicit result from ../../bin.cli" ./test.sh "$(../../bin/cli)"
testOrError "bin/test.sh from specs/forgecheck folder" ../../bin/test.sh
testOrError "forgecheck/test.sh from specs/forgecheck folder with implicit ../../bin/cli" ./test.sh
testOrError "forgecheck/test.sh from specs/forgecheck folder with explicit result from ../../bin.cli" ./test.sh "$(../../bin/cli)"
cd tests
testOrError "bin/test.sh from spec/forgecheck/tests" ../../../bin/test.sh
testOrError "forgecheck/test.sh from spec/forgecheck/tests" ../test.sh
testOrError "forgecheck/test.sh from spec/forgehook/tests folder with explicit result from ../../../bin/cli" ../test.sh "$(../../../bin/cli)"
testOrError "bin/test.sh from specs/forgecheck/tests" ../../../bin/test.sh
testOrError "forgecheck/test.sh from specs/forgecheck/tests" ../test.sh
testOrError "forgecheck/test.sh from specs/forgehook/tests folder with explicit result from ../../../bin/cli" ../test.sh "$(../../../bin/cli)"
}
ORIGDIR="$(pwd)"