This commit is contained in:
eric sciple
2025-10-17 16:15:26 +00:00
parent 55e3774a3d
commit e516cf1d25

View File

@@ -1,5 +1,4 @@
#!/bin/bash #!/bin/bash
set -o pipefail
if [ ! -f "./submodules-true/regular-file.txt" ]; then if [ ! -f "./submodules-true/regular-file.txt" ]; then
echo "Expected regular file does not exist" echo "Expected regular file does not exist"
@@ -28,7 +27,7 @@ if [ "$?" != "0" ]; then
fi fi
# Try to ls-remote to validate credentials work # Try to ls-remote to validate credentials work
git ls-remote origin 2>&1 | head git ls-remote origin >/dev/null
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
echo "Failed to validate persisted credential - git ls-remote failed" echo "Failed to validate persisted credential - git ls-remote failed"
popd popd