diff options
Diffstat (limited to 'test/buildtool/file_system')
-rw-r--r-- | test/buildtool/file_system/create_fs_test_git_bundle.sh | 5 | ||||
-rw-r--r-- | test/buildtool/file_system/create_fs_test_git_bundle_symlinks.sh | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/buildtool/file_system/create_fs_test_git_bundle.sh b/test/buildtool/file_system/create_fs_test_git_bundle.sh index 7958546c..d9731c10 100644 --- a/test/buildtool/file_system/create_fs_test_git_bundle.sh +++ b/test/buildtool/file_system/create_fs_test_git_bundle.sh @@ -15,6 +15,11 @@ set -e +if ! command -v git >/dev/null; then + echo "git is required to run this script." + exit 1 +fi + # --- # Structure of test_repo: # --- diff --git a/test/buildtool/file_system/create_fs_test_git_bundle_symlinks.sh b/test/buildtool/file_system/create_fs_test_git_bundle_symlinks.sh index bf2ab8c5..b64076ad 100644 --- a/test/buildtool/file_system/create_fs_test_git_bundle_symlinks.sh +++ b/test/buildtool/file_system/create_fs_test_git_bundle_symlinks.sh @@ -15,6 +15,11 @@ set -e +if ! command -v git >/dev/null; then + echo "git is required to run this script." + exit 1 +fi + # --- # Structure of test_repo_symlinks: # --- |