From 7e8d3a03ca3a8b193c046386f3b11fc32e47cfa2 Mon Sep 17 00:00:00 2001 From: southerntofu Date: Thu, 24 Feb 2022 00:14:35 +0100 Subject: [PATCH] Update tests for new specs structure --- .gitmodules | 3 +++ bin/test.sh | 4 ++-- spec | 1 - specs | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) delete mode 160000 spec create mode 160000 specs diff --git a/.gitmodules b/.gitmodules index f615619..050e851 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "whck"] path = whck url = https://tildegit.org/forge/whck +[submodule "specs"] + path = specs + url = https://tildegit.org/forge/specs diff --git a/bin/test.sh b/bin/test.sh index 4f39bd0..8c8617e 100755 --- a/bin/test.sh +++ b/bin/test.sh @@ -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 diff --git a/spec b/spec deleted file mode 160000 index 2f3d4dd..0000000 --- a/spec +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2f3d4dd03e68c51f5d93fa0e18fb95454f62c5df diff --git a/specs b/specs new file mode 160000 index 0000000..66332ae --- /dev/null +++ b/specs @@ -0,0 +1 @@ +Subproject commit 66332ae7b1d36b468e72e7cdcebc966584072ca5