From: Ulrich Dangel Date: Sat, 12 Sep 2009 01:13:00 +0000 (+0200) Subject: Added unittest for test_finddcsdir X-Git-Tag: v0.8.31~3^2~5 X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=eb06481714843a96d65408e822d591b94126e08f;ds=sidebyside Added unittest for test_finddcsdir --- diff --git a/tests/test_dcsdir.sh b/tests/test_dcsdir.sh new file mode 100755 index 0000000..0f012e8 --- /dev/null +++ b/tests/test_dcsdir.sh @@ -0,0 +1,16 @@ +#!/bin/zsh + + +test_finddcsdir() { + CMDLINE='' + INSTALLED='' + + EXPECTED_PATH='/live/image' + + config_finddcsdir &>/dev/null + + assertEquals 'dcsdir is wrong' ${EXPECTED_PATH} ${DCSDIR} + +} + +. ./common_tests $0