diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-10-02 12:42:00 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-02 12:42:00 -0500 |
| commit | 3422789e012f07b2ae57b3ebac825adb678c6581 (patch) | |
| tree | 4338ece2f8a0610ceed1c5aa8604164e78045135 | |
| parent | a91c55924bcecda595138019cff302c12ff7658e (diff) | |
| download | lua4win-dist-lua-3422789e012f07b2ae57b3ebac825adb678c6581.tar.gz lua4win-dist-lua-3422789e012f07b2ae57b3ebac825adb678c6581.tar.bz2 lua4win-dist-lua-3422789e012f07b2ae57b3ebac825adb678c6581.zip | |
re-add failure
| -rwxr-xr-x | test | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh -ex |
| 2 | 2 | ||
| 3 | Xvfb :99 -screen 0 1280x1024x24 -nolisten tcp & | 3 | Xvfb :99 -screen 0 1280x1024x24 -nolisten tcp & |
| 4 | set DISPLAY=:99 | 4 | set 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 |
| 8 | DISPLAY=:99 msiexec /i lua4win.msi & | 8 | DISPLAY=:99 msiexec /i lua4win.msi & |
| 9 | sleep 5 | 9 | sleep 5 |
| 10 | # Click agree to terms | ||
| 10 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/1.png | 11 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/1.png |
| 11 | DISPLAY=:99 xdotool mousemove --sync 573 618 | 12 | DISPLAY=:99 xdotool mousemove --sync 573 618 |
| 12 | sleep 1 | 13 | sleep 1 |
| 13 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/2.png | 14 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/2.png |
| 14 | DISPLAY=:99 xdotool click 1 | 15 | DISPLAY=:99 xdotool click 1 |
| 15 | sleep 1 | 16 | sleep 1 |
| 17 | # Click Install | ||
| 16 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/3.png | 18 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/3.png |
| 17 | DISPLAY=:99 xdotool mousemove --sync 725 666 | 19 | DISPLAY=:99 xdotool mousemove --sync 725 666 |
| 18 | sleep 1 | 20 | sleep 1 |
| 19 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/4.png | 21 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/4.png |
| 20 | DISPLAY=:99 xdotool click 1 | 22 | DISPLAY=:99 xdotool click 1 |
| 21 | sleep 1 | 23 | sleep 1 |
| 24 | |||
| 22 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/5.png | 25 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/5.png |
| 23 | DISPLAY=:99 xdotool mousemove --sync 743 666 | 26 | DISPLAY=:99 xdotool mousemove --sync 743 666 |
| 24 | sleep 1 | 27 | sleep 1 |
| @@ -27,4 +30,4 @@ DISPLAY=:99 xdotool click 1 | |||
| 27 | sleep 1 | 30 | sleep 1 |
| 28 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/7.png | 31 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/7.png |
| 29 | tar -czf images.tar.gz *.png | 32 | tar -czf images.tar.gz *.png |
| 30 | 33 | exit -1 | |
