diff options
Diffstat (limited to 'menu/tests/menutest')
-rwxr-xr-x | menu/tests/menutest | 7 |
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 |