Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/__test__/verify-submodules-not-checked-out.sh
blob: dcc048712d386c6c35b679095a8868be057b1d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

if [ ! -f "./submodules-not-checked-out/regular-file.txt" ]; then
    echo "Expected regular file does not exist"
    exit 1
fi

if [ -f "./submodules-not-checked-out/submodule-level-1/submodule-file.txt" ]; then
    echo "Unexpected submodule file exists"
    exit 1
fi