diff options
| author | eric sciple <ericsciple@users.noreply.github.com> | 2019-12-03 10:28:59 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-03 10:28:59 -0500 |
| commit | e404ba5989baa550f631fb1262539d1375a856b7 (patch) | |
| tree | 4cc911589e7c9a4c976bc99eb4dcb886d2b2d8a8 /__test__/verify-submodules-not-checked-out.sh | |
| parent | 6a11491f2eea6739d1296d604c5402cffa43a1f1 (diff) | |
Convert checkout to a regular action (#70)
Diffstat (limited to '__test__/verify-submodules-not-checked-out.sh')
| -rwxr-xr-x | __test__/verify-submodules-not-checked-out.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/__test__/verify-submodules-not-checked-out.sh b/__test__/verify-submodules-not-checked-out.sh new file mode 100755 index 0000000..dcc0487 --- /dev/null +++ b/__test__/verify-submodules-not-checked-out.sh @@ -0,0 +1,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 |
