File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ export postout_START='*post*' # this line will be deleted soon
77
77
78
78
info_section_START=' \*\* *((( Begin info*'
79
79
test_section_START=' \*\* *((( Begin test*'
80
- test_section_START=' *from*' # this line will be deleted soon
81
80
82
81
default-environment-params ()
83
82
{
@@ -376,9 +375,10 @@ do-dotest() # wrap a piped in test script with status
376
375
do-status 4
377
376
;;
378
377
esac
379
- echo " $ORGPRE test script from : $* " # the test script should send its name to -dotest
378
+ echo " $ORGPRE ((( Begin test : $* " # the test script should send its name to -dotest
380
379
ORGPRE=" *$ORGPRE "
381
380
time ( do-doscript " $k " bash ; echo " $ORGPRE post test" )
381
+ echo " end test )))"
382
382
echo " End test: $* out]]]"
383
383
echo " End test: $* err]]]" 1>&2
384
384
}
@@ -459,7 +459,7 @@ do-cleanlog()
459
459
;;
460
460
$test_section_START )
461
461
sectiontestscript=" ${ln#*: } "
462
- read sname rest <<< " $sectiontestscript"
462
+ IFS= ' ' read sname rest <<< " $sectiontestscript"
463
463
fullpath=" $( readlink -f " $sname " ) "
464
464
if [ -x " $fullpath " ]; then
465
465
# The following code is really just a pipe: P1 | P2
Original file line number Diff line number Diff line change 2
2
3
3
thetest ()
4
4
{
5
- ./nested-kvm-ctrl.sh 2 -dotest " ${0##*/ } " << EOF
5
+ ./nested-kvm-ctrl.sh 2 -dotest " ${0##*/ } $* " << EOF
6
6
sleep 2
7
7
echo hey
8
8
pstree -pa \$\$
You can’t perform that action at this time.
0 commit comments