projects
/
grml-autoconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactored unit tests
[grml-autoconfig.git]
/
tests
/
test_bootparameters.sh
diff --git
a/tests/test_parameters.sh
b/tests/test_bootparameters.sh
similarity index 90%
rename from
tests/test_parameters.sh
rename to
tests/test_bootparameters.sh
index
5d08f8a
..
7e61c86
100755
(executable)
--- a/
tests/test_parameters.sh
+++ b/
tests/test_bootparameters.sh
@@
-1,6
+1,5
@@
#!/bin/zsh
-setopt shwordsplit
test_checkbootparam() {
CMDLINE='foo=dingens bar foobar=blub'
@@
-51,14
+50,4
@@
test_getbootparam() {
}
-oneTimeSetUp() {
- OLDPATH=$PATH
-
- . ../autoconfig.functions
-
- export PATH=$OLDPATH
-}
-
-SHUNIT_PARENT=$0
-
-. ./shunit2
+. ./common_tests $0