projects
/
grml-autoconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d179237
)
Added unittest for test_finddcsdir
author
Ulrich Dangel
<mru@grml.org>
Sat, 12 Sep 2009 01:13:00 +0000
(
03:13
+0200)
committer
Ulrich Dangel
<mru@grml.org>
Sat, 12 Sep 2009 11:06:15 +0000
(13:06 +0200)
tests/test_dcsdir.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/tests/test_dcsdir.sh
b/tests/test_dcsdir.sh
new file mode 100755
(executable)
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