test: remove unnecessary bash-ism.
Bash allows '-' in function names, but other shells don't. So use '_' - always safe. Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
5e9fd96f21
commit
d5a221a525
4
test
4
test
|
@ -69,13 +69,13 @@ cleanup() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
ctrl-c() {
|
ctrl_c() {
|
||||||
exitonerror=1
|
exitonerror=1
|
||||||
}
|
}
|
||||||
|
|
||||||
do_setup() {
|
do_setup() {
|
||||||
trap cleanup 0 1 3 15
|
trap cleanup 0 1 3 15
|
||||||
trap ctrl-c 2
|
trap ctrl_c 2
|
||||||
|
|
||||||
devlist=
|
devlist=
|
||||||
for d in 0 1 2 3 4 5 6 7 8 9 10 11 12
|
for d in 0 1 2 3 4 5 6 7 8 9 10 11 12
|
||||||
|
|
Loading…
Reference in New Issue