mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: add support to run unit test
This commit is contained in:
parent
7616a7f46e
commit
d38a2d64f0
@ -1351,6 +1351,11 @@ apitest() {
|
||||
"$TESTOLDPWD/api/$1.t" "${@:2}" && rm -f debug.log strace.log
|
||||
}
|
||||
|
||||
unittest() {
|
||||
test -x "$TESTOLDPWD/unit/unit-test" || skip
|
||||
"$TESTOLDPWD/unit/unit-test" "${@}"
|
||||
}
|
||||
|
||||
mirror_recovery_works() {
|
||||
case "$(uname -r)" in
|
||||
3.3.4-5.fc17.i686|3.3.4-5.fc17.x86_64) return 1 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user