Commit dd887ab4dff2f47110b7f584e357e86826b76369 Parent: 2b5e93377bab6ebf38f5e06cebdd49418093d9de Author: mcol <mcol@posteo.net> Date: 2022-06-04 23:32:18 +0100 Committer: mcol <mcol@posteo.net> Committed: 2022-06-04 23:32:18 +0100 Rename project to gitja
test/test.sh Modified
@@ -1,13 +1,13 @@ #!/usr/bin/env bash : ' -Testing gitserve -================ +Testing gitja +============= Running `make test` or `./test/test.sh` from the root project folder will run -this script, which tests gitserve. +this script, which tests gitja. -Beside this file is the config file that gitserve uses. It runs using the +Beside this file is the config file that gitja uses. It runs using the templates in this folder and outputs into this folder. Then the output is compared with expected results. @@ -17,9 +17,9 @@ set -u -if [[ $(basename "$PWD") != gitserve ]] +if [[ $(basename "$PWD") != gitja ]] then - echo "The test script should be run from the gitserve root project folder." + echo "The test script should be run from the gitja root project folder." exit 1 fi @@ -34,14 +34,14 @@ "link.html" # Symbolic link at top level "style.css" # Static file at top level "static/a_nice_file" # Static folder at top level - "gitserve/index.html" # Repo scope - "gitserve/commit/0292014748caae952bbc8dd6225680d83c0a5135.html" # A commit - "gitserve/file/test.templates.style.css.html" # A plain text file + "gitja/index.html" # Repo scope + "gitja/commit/0292014748caae952bbc8dd6225680d83c0a5135.html" # A commit + "gitja/file/test.templates.style.css.html" # A plain text file "so_called_binary_file" # Static file at top level that git considers binary - "gitserve/file/test.templates.so_called_binary_file.html" # The binary file - "gitserve/file/github.FUNDING.yml.html" # HREF drops leading period - "gitserve/log.html" # Symbolic link inside repo/ - "gitserve/static/another_file" # Static folder inside repo/ + "gitja/file/test.templates.so_called_binary_file.html" # The binary file + "gitja/file/github.FUNDING.yml.html" # HREF drops leading period + "gitja/log.html" # Symbolic link inside repo/ + "gitja/static/another_file" # Static folder inside repo/ ) stack run -- -c test/config.dhall -q || exit 1
test/templates/link.html Modified
@@ -1 +1 @@ -gitserve/index.html \ No newline at end of file +gitja/index.html