Update tests for new specs structure

This commit is contained in:
southerntofu 2022-02-24 00:14:35 +01:00
parent f3a2f22e9d
commit 7e8d3a03ca
4 changed files with 6 additions and 3 deletions

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule "whck"]
path = whck
url = https://tildegit.org/forge/whck
[submodule "specs"]
path = specs
url = https://tildegit.org/forge/specs

View File

@ -4,7 +4,7 @@ SCRIPTDIR="$(dirname "$0")"
BASEDIR="$(realpath "$SCRIPTDIR"/..)"
ORIGDIR="$(pwd)"
if [ ! -f "$BASEDIR"/spec/test_cli.sh ]; then
if [ ! -f "$BASEDIR"/specs/forgehook/test.sh ]; then
echo "Submodule not cloned yet. Doing it now"
cd "$BASEDIR"
git submodule init
@ -29,7 +29,7 @@ fi
if [ $? -eq 0 ]; then
# Let test_web.sh figure out the path to whck
"$BASEDIR"/spec/test_web.sh "$server" "$whck"
"$BASEDIR"/specs/forgehook/test.sh "$server" "$whck"
status=$?
else
status=1

1
spec

@ -1 +0,0 @@
Subproject commit 2f3d4dd03e68c51f5d93fa0e18fb95454f62c5df

1
specs Submodule

@ -0,0 +1 @@
Subproject commit 66332ae7b1d36b468e72e7cdcebc966584072ca5