From c636eefc73d090deffbff01d386bc43e6e831ad1 Mon Sep 17 00:00:00 2001 From: Waldo Bastian Date: Thu, 17 Mar 2005 22:01:44 +0000 Subject: Additional test for MergeFile outside applications-merged directory --- menu/tests/tests/p/result | 5 +++++ menu/tests/tests/p/test | 55 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 menu/tests/tests/p/result create mode 100644 menu/tests/tests/p/test (limited to 'menu') diff --git a/menu/tests/tests/p/result b/menu/tests/tests/p/result new file mode 100644 index 0000000..de216fc --- /dev/null +++ b/menu/tests/tests/p/result @@ -0,0 +1,5 @@ +Applications/ KEdit.desktop /tmp/menutestdir/xdg_data_dir/applications/KEdit.desktop +Applications/ kate.desktop /tmp/menutestdir/xdg_data_dir/applications/kate.desktop +Applications/ kwrite.desktop /tmp/menutestdir/xdg_data_dir/applications/kwrite.desktop +Development/ kbabel.desktop /tmp/menutestdir/xdg_data_dir/applications/kbabel.desktop +Development/ quanta.desktop /tmp/menutestdir/xdg_data_dir/applications/quanta.desktop diff --git a/menu/tests/tests/p/test b/menu/tests/tests/p/test new file mode 100644 index 0000000..c31601d --- /dev/null +++ b/menu/tests/tests/p/test @@ -0,0 +1,55 @@ +echo ">>> the tag ..." + +# Tests the use of relative paths in + +# Generate applications.menu +mkdir -p ${XDG_CONFIG_DIR}/menus +./expand > ${XDG_CONFIG_DIR}/menus/applications.menu < + + + KDE + + test.menu + + + Applications + + TextEditor + + + +EOF + + +./expand > ${XDG_CONFIG_DIR}/menus/test.menu < + + + KDE + + extra/test.menu + +EOF + +mkdir ${XDG_CONFIG_DIR}/menus/extra/ +./expand > ${XDG_CONFIG_DIR}/menus/extra/test.menu < + + + KDE + + + Development + + Development + + + +EOF + +# Install .desktop files +installData ${XDG_DATA_DIR}/applications kwrite.desktop KEdit.desktop quanta.desktop kate.desktop kbabel.desktop -- cgit v1.2.3-54-g00ecf