From 60311094efe7b8fe17687a87b4e9732ce0e5c309 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Wed, 16 Oct 2024 16:38:52 -0500 Subject: Actually run luarocks in its test --- test | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test b/test index 99dbb23..2f74971 100755 --- a/test +++ b/test @@ -70,5 +70,12 @@ DISPLAY=:99 xdotool sleep 3 DISPLAY=:99 xwd -name "$WIN" | magick xwd:- png:/root/7.png DISPLAY=:99 xdotool key --window $(DISPLAY=:99 xdotool search --sync --name "Installer") F DISPLAY=:99 xdotool sleep 3 -DISPLAY=:99 xwd | magick xwd:- png:/root/8.png +DISPLAY=:99 xwd -root | magick xwd:- png:/root/8.png tar -czf images.tar.gz *.png + +# Make sure we've installed it +INSTALLDIR='/root/.wine/drive_c/Program Files (x86)/Lua4Win/Lua4Win 1.0' +test -e $INSTALLDIR/luajit.exe +test -e $INSTALLDIR/luarocks.exe +wine "$INSTALLDIR/luarocks.exe" --help +wine "$INSTALLDIR/luarocks.exe" config -- cgit v1.2.3-55-g6feb