From 41a83b38b76c86e24c32868b816955375840f614 Mon Sep 17 00:00:00 2001 From: lanius Date: Sun, 22 May 2005 21:53:58 +0000 Subject: add tests --- menu/tests/tests/w/result | 2 ++ menu/tests/tests/w/test | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 menu/tests/tests/w/result create mode 100644 menu/tests/tests/w/test diff --git a/menu/tests/tests/w/result b/menu/tests/tests/w/result new file mode 100644 index 0000000..9a2b9db --- /dev/null +++ b/menu/tests/tests/w/result @@ -0,0 +1,2 @@ +Editors/ gideon-legacy.desktop ${LEGACY_DIR}/Development/gideon-legacy.desktop +/ Home.desktop ${LEGACY_DIR}/Home.desktop diff --git a/menu/tests/tests/w/test b/menu/tests/tests/w/test new file mode 100644 index 0000000..d7f2ede --- /dev/null +++ b/menu/tests/tests/w/test @@ -0,0 +1,38 @@ +echo ">>> Move entries from " + +LEGACY_DIR=${MENUTESTDIR}/legacy_applnk +export LEGACY_DIR + +# Generate applications.menu +mkdir -p ${XDG_CONFIG_DIR}/menus +./expand > ${XDG_CONFIG_DIR}/menus/applications.menu < + + + KDE + + ${LEGACY_DIR} + + + + + Development + + gideon-legacy.desktop + + + + Editors + + gideon-legacy.desktop + + + +EOF + + +# Install .desktop files + +installData ${LEGACY_DIR} Home.desktop +installData ${LEGACY_DIR}/Development gideon-legacy.desktop -- cgit v1.2.3-70-g09d2