File: t-xdg-icon-resource.sh

package info (click to toggle)
xdg-utils 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,508 kB
  • sloc: sh: 7,900; xml: 3,213; perl: 274; makefile: 201; awk: 41
file content (9 lines) | stat: -rwxr-xr-x 314 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/sh
COMMAND_TESTED=xdg-icon-resource
. ./test-lib.sh

test_that_it installs a png icon system-wide
touch $LABDIR/icon.png
run generic xdg-icon-resource install --mode system --size 256 \
    $LABDIR/icon.png myvendor-myapp
assert_file_exists $XDG_DATA_DIR_LOCAL/icons/hicolor/256x256/apps/myvendor-myapp.png