summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-10-02 12:42:00 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-10-02 12:42:00 -0500
commit3422789e012f07b2ae57b3ebac825adb678c6581 (patch)
tree4338ece2f8a0610ceed1c5aa8604164e78045135
parenta91c55924bcecda595138019cff302c12ff7658e (diff)
downloadlua4win-dist-lua-3422789e012f07b2ae57b3ebac825adb678c6581.tar.gz
lua4win-dist-lua-3422789e012f07b2ae57b3ebac825adb678c6581.tar.bz2
lua4win-dist-lua-3422789e012f07b2ae57b3ebac825adb678c6581.zip
re-add failure
-rwxr-xr-xtest7
1 files changed, 5 insertions, 2 deletions
diff --git a/test b/test
index 76bf717..c8b4cfc 100755
--- a/test
+++ b/test
@@ -1,4 +1,4 @@
1#!/bin/sh 1#!/bin/sh -ex
2 2
3Xvfb :99 -screen 0 1280x1024x24 -nolisten tcp & 3Xvfb :99 -screen 0 1280x1024x24 -nolisten tcp &
4set DISPLAY=:99 4set DISPLAY=:99
@@ -7,18 +7,21 @@ DISPLAY=:99 WINEDLLOVERRIDES="mscoree,mshtml=" wineboot -i
7# For some reason we have to set this here, having set .. ^ is not enough 7# For some reason we have to set this here, having set .. ^ is not enough
8DISPLAY=:99 msiexec /i lua4win.msi & 8DISPLAY=:99 msiexec /i lua4win.msi &
9sleep 5 9sleep 5
10# Click agree to terms
10DISPLAY=:99 xwd -root | magick xwd:- png:/root/1.png 11DISPLAY=:99 xwd -root | magick xwd:- png:/root/1.png
11DISPLAY=:99 xdotool mousemove --sync 573 618 12DISPLAY=:99 xdotool mousemove --sync 573 618
12sleep 1 13sleep 1
13DISPLAY=:99 xwd -root | magick xwd:- png:/root/2.png 14DISPLAY=:99 xwd -root | magick xwd:- png:/root/2.png
14DISPLAY=:99 xdotool click 1 15DISPLAY=:99 xdotool click 1
15sleep 1 16sleep 1
17# Click Install
16DISPLAY=:99 xwd -root | magick xwd:- png:/root/3.png 18DISPLAY=:99 xwd -root | magick xwd:- png:/root/3.png
17DISPLAY=:99 xdotool mousemove --sync 725 666 19DISPLAY=:99 xdotool mousemove --sync 725 666
18sleep 1 20sleep 1
19DISPLAY=:99 xwd -root | magick xwd:- png:/root/4.png 21DISPLAY=:99 xwd -root | magick xwd:- png:/root/4.png
20DISPLAY=:99 xdotool click 1 22DISPLAY=:99 xdotool click 1
21sleep 1 23sleep 1
24
22DISPLAY=:99 xwd -root | magick xwd:- png:/root/5.png 25DISPLAY=:99 xwd -root | magick xwd:- png:/root/5.png
23DISPLAY=:99 xdotool mousemove --sync 743 666 26DISPLAY=:99 xdotool mousemove --sync 743 666
24sleep 1 27sleep 1
@@ -27,4 +30,4 @@ DISPLAY=:99 xdotool click 1
27sleep 1 30sleep 1
28DISPLAY=:99 xwd -root | magick xwd:- png:/root/7.png 31DISPLAY=:99 xwd -root | magick xwd:- png:/root/7.png
29tar -czf images.tar.gz *.png 32tar -czf images.tar.gz *.png
30 33exit -1