Skip to content

Commit 02c05ae

Browse files
authored
Update worker.sh
[ci skip]
1 parent 3d7d669 commit 02c05ae

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

code/worker.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,12 @@ fi
8383

8484
echo "==========================================="
8585

86-
# Disable network access for the AppImage under test
87-
sudo ip netns add jail
88-
8986
# TODO: If everything succeeded until here, then download Firejail aith Xpra and run the application in it
9087
# and take screenshots if we don't have them already from AppStream
9188

9289
# LD_DEBUG=libs "$APPDIR/AppRun" & # Getting "Desktop file is missing. Please run /mnt/AppRun from within an AppImage." with wire-2.15.2751-x86_64.AppImage
9390
chmod +x "$FILENAME"
94-
sudo ip netns exec jail su $USER -c ./"$FILENAME" &
91+
firejail --x11=xpra ./"$FILENAME" &
9592
APID=$!
9693
sleep 5
9794
kill $APID && echo "SUCCESS" || exit 1

0 commit comments

Comments
 (0)