This repository has been archived on 2025-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
checkout/__test__/verify-submodules-false.sh
wangdepei 149643c2d6
Some checks failed
Build and Test / build (push) Has been cancelled
Build and Test / test (macos-latest) (push) Has been cancelled
Build and Test / test (ubuntu-latest) (push) Has been cancelled
Build and Test / test (windows-latest) (push) Has been cancelled
Build and Test / test-proxy (push) Has been cancelled
Build and Test / test-bypass-proxy (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Build and Test / test-git-container (push) Has been cancelled
Build and Test / test-output (push) Has been cancelled
Check dist / check-dist (push) Has been cancelled
init
2025-06-05 13:07:41 +08:00

11 lines
263 B
Bash
Executable File

#!/bin/bash
if [ ! -f "./submodules-false/regular-file.txt" ]; then
echo "Expected regular file does not exist"
exit 1
fi
if [ -f "./submodules-false/submodule-level-1/submodule-file.txt" ]; then
echo "Unexpected submodule file exists"
exit 1
fi