Fix potential command injection in test script

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-29 19:35:06 +00:00
parent 3c29a7c3c2
commit c181bd4530
2 changed files with 135 additions and 2 deletions

View File

@@ -14,12 +14,12 @@ if command -v busybox >/dev/null 2>&1; then
echo ""
echo "BusyBox location:"
which busybox
ls -lh $(which busybox)
ls -lh "$(which busybox)"
echo ""
echo "Shell (/bin/sh) is BusyBox:"
ls -lh /bin/sh
if [ -L /bin/sh ]; then
echo " → /bin/sh is a symlink to: $(readlink /bin/sh)"
echo " → /bin/sh is a symlink to: \"$(readlink /bin/sh)\""
fi
echo ""
echo "Available BusyBox applets (sample):"