First version

This commit is contained in:
andy committed 2026-10-15 20:44:05 -03:00
commit 243e92a9dd
84 files changed
+4012

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Installs xdotool in the throwaway test VM (not in the built image), for
# mouse clicks with tests/click.sh. The firewall is turned off during the
# installation and back on afterwards. ADMIN_PASS=... tests/add_test_tools.sh
cd "$(dirname "$0")/.."
tests/vssh.sh icpc "echo '${ADMIN_PASS:?set ADMIN_PASS}' | sudo -S -p '' bash -c '
command -v xdotool >/dev/null && exit 0
contest-restrictions off firewall >/dev/null
apt-get install -y -qq xdotool >/dev/null 2>&1
contest-restrictions on firewall >/dev/null
/refresh_rules.sh
command -v xdotool'"