diff options
Diffstat (limited to 'menu/tests/tests/o/test')
-rw-r--r-- | menu/tests/tests/o/test | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/menu/tests/tests/o/test b/menu/tests/tests/o/test deleted file mode 100644 index b87f321..0000000 --- a/menu/tests/tests/o/test +++ /dev/null @@ -1,34 +0,0 @@ -echo ">>> <And><Category>foo</Category><Not><Category>foo</Category></Not></And> shouldn't match anything" - -# Generate ${DIRTY_HACK}applications.menu -mkdir -p ${XDG_CONFIG_DIR}/menus -./expand > ${XDG_CONFIG_DIR}/menus/${DIRTY_HACK}applications.menu <<EOF - <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" - "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd"> - -<Menu> - <Name>KDE</Name> - - <DefaultAppDirs/> - <DefaultDirectoryDirs/> - - <Menu> - <Name>Applications</Name> - <Directory>apps.directory</Directory> - <Include> - <Or> - <Category>TextEditor</Category> - <And> - <Category>Game</Category> - <Not><Category>Game</Category></Not> - </And> - </Or> - </Include> - </Menu> -</Menu> -EOF - -# Install .desktop files -installData ${XDG_DATA_DIR}/applications kwrite.desktop KEdit.desktop kate.desktop -installData ${XDG_DATA_DIR}/applications/test freecell.desktop -installData ${XDG_DATA_DIR}/desktop-directories apps.directory |