tests: do not skip installed shell tests
When installed, the test scripts lose their ".sh" suffix, causing them
to be skipped by the "run" script. With this patch, the tests are no
longer specified with ".sh" suffix in the run script, and the suffix
is added automatically as necessary.
LSC: Minor adaptation to keep track of history. As this patch has been
forward ported into mainline, a simple rebase would loose this
commit (cf commit 1f317d315c
).
Change-Id: I0b72312e79992b9818559c6546a0e52cd95184c2
This commit is contained in:
parent
38f7b96048
commit
1f8286c377
1 changed files with 1 additions and 1 deletions
2
test/run
2
test/run
|
@ -125,7 +125,7 @@ runtest() {
|
|||
fi
|
||||
else
|
||||
if [ $needroot -eq 1 ]
|
||||
then echo "skipping test$i, not root" >&2 && return 0
|
||||
then echo "skipping test$i, not root." >&2 && return 0
|
||||
else $NAME $ARG || return 1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue