Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 2.45 KB

TESTING.md

File metadata and controls

52 lines (40 loc) · 2.45 KB

Testing

GNUstep .app bundle support

  1. Open Filer
  2. In the terminal, run: mkdir -p Xterm.app
  3. In Filer, verify that Xterm.app is displayed as and behaves like a normal folder
  4. In the terminal, run: echo '#\!/bin/sh' > Xterm.app/Xterm && echo 'xterm' >> Xterm.app/Xterm
  5. In Filer, reload and verify that Xterm.app is still displayed as and still behaves like a normal folder
  6. In the terminal, run: chmod +x Xterm.app/Xterm
  7. In Filer, reload and verify that Xterm is displayed with a different icon and without the .app extension
  8. In Filer, verify that Xterm in fact opens the Xterm application when double-clicked

macOS .app bundle support

On macOS:

  1. Download https://raw.githubusercontent.com/transmission/transmission-releases/master/Transmission-3.00.dmg
  2. Open the dmg to mount it
  3. Open Filer
  4. In Filer, go to the mountpoint of the disk image and verify that Transmission is displayed with the Transmission icon and without the .app extension
  5. In Filer, verify that Transmission in fact opens the Transmission application when double-clicked

On FreeBSD (similar for Linux):

su
wget -c "https://raw.githubusercontent.com/transmission/transmission-releases/master/Transmission-3.00.dmg"
pkg install dmg2img fusefs-hfsfuse
dmg2img -v /home/user/Downloads/Transmission-3.00.dmg
mdconfig -a -t vnode -f /home/user/Downloads/Transmission-3.00.img
file -s /dev/md0p1
/usr/local/bin/hfsfuse --force -o noatime /dev/md0p1 /mnt
  1. In the terminal, run the commands above
  2. Open Filer
  3. In Filer, go to /mnt and verify that Transmission is displayed with the Transmission icon and without the .app extension
  4. In Filer, verify that Transmission does not try to launch the application when double-clicked, but instead the bundle folder is opened (since we are not running on macOS)

ROX AppDir support

  1. Open Filer
  2. In the terminal, run: mkdir -p Xterm.AppDir
  3. In Filer, verify that Xterm.app is displayed as and behaves like a normal folder
  4. In the terminal, run: echo '#\!/bin/sh' > Xterm.AppDir/AppRun && echo 'xterm' >> Xterm.AppDir/AppRun
  5. In Filer, reload and verify that Xterm.AppDir is still displayed as and still behaves like a normal folder
  6. In the terminal, run: chmod +x Xterm.AppDir/AppRun
  7. In Filer, reload and verify that Xterm is displayed with a different icon and without the .AppDir extension
  8. In Filer, verify that Xterm in fact opens the Xterm application when double-clicked