summaryrefslogtreecommitdiffstats
path: root/menu/tests/menutest
diff options
context:
space:
mode:
Diffstat (limited to 'menu/tests/menutest')
-rwxr-xr-xmenu/tests/menutest7
1 files changed, 7 insertions, 0 deletions
diff --git a/menu/tests/menutest b/menu/tests/menutest
index 861a50d..adf93d8 100755
--- a/menu/tests/menutest
+++ b/menu/tests/menutest
@@ -10,6 +10,13 @@ function installData()
done
}
+function installDataAs()
+{
+ local DIR=$1
+ mkdir -p ${DIR}
+ cp data/$2 ${DIR}/$3
+}
+
if [ "x${MENUTEST}" == "x" ]; then
echo 'To run the test set $MENUTEST to your menu-spec implementation.'
exit 1