main.sh: fix -S test.