From 5bd07a319c23b3643551b121d6616ebf3a103509 Mon Sep 17 00:00:00 2001 From: Waldo Bastian Date: Fri, 21 Nov 2003 12:47:46 +0000 Subject: Test for relative file handling of --- menu/tests/tests/l/result | 5 +++++ menu/tests/tests/l/test | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 menu/tests/tests/l/result create mode 100644 menu/tests/tests/l/test diff --git a/menu/tests/tests/l/result b/menu/tests/tests/l/result new file mode 100644 index 0000000..de216fc --- /dev/null +++ b/menu/tests/tests/l/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/l/test b/menu/tests/tests/l/test new file mode 100644 index 0000000..9846196 --- /dev/null +++ b/menu/tests/tests/l/test @@ -0,0 +1,56 @@ +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 + + applications-merged/test.menu + + + Applications + + TextEditor + + + +EOF + + +mkdir ${XDG_CONFIG_DIR}/menus/applications-merged/ +./expand > ${XDG_CONFIG_DIR}/menus/applications-merged/test.menu < + + + KDE + + extra/test.menu + +EOF + +mkdir ${XDG_CONFIG_DIR}/menus/applications-merged/extra/ +./expand > ${XDG_CONFIG_DIR}/menus/applications-merged/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-70-g09d2