First version
This commit is contained in:
commit
243e92a9dd
84 files changed
+4012
No files matched your search
Executable
+12
@@ -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'"
|
||||
Reference in new issue
Block a user