#!/bin/bash # Test script for ZSVO on Debian 13 set -e echo "๐Ÿš€ Building ZSVO for Linux AMD64..." GOOS=linux GOARCH=amd64 go build -o zsvo . echo "๐Ÿง Building test Docker image..." docker build -f test-env.dockerfile -t zsvo-test . echo "๐Ÿงช Running tests in container..." docker run --rm -it -v $(pwd)/zsvo:/usr/local/bin/zsvo zsvo-test /bin/bash -c " echo '๐Ÿ“‹ ZSVO version:' zsvo --help | head -3 echo '' echo '๐Ÿ” Testing help command:' zsvo install --help echo '' echo '๐Ÿ“ฆ Testing dry-run with htop:' zsvo install --dry-run htop echo '' echo '๐ŸŽฏ Testing neovim installation (this will try to build cmake, git, lua5.1):' zsvo install --dry-run neovim echo '' echo 'โœ… All tests completed!' " echo "๐ŸŽ‰ Test completed!"