libc: rename $apid to $APID
This commit is contained in:
parent
fab9c1d80f
commit
d6d65887b2
|
@ -7,7 +7,7 @@ test_output = /tmp/output-`{basename $test}
|
||||||
if ( test -e $test_output) rm $test_output
|
if ( test -e $test_output) rm $test_output
|
||||||
|
|
||||||
$test $test_output &
|
$test $test_output &
|
||||||
testpid=$apid
|
testpid=$APID
|
||||||
sleep 1
|
sleep 1
|
||||||
echo hi > /proc/$testpid/note
|
echo hi > /proc/$testpid/note
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ test_output = /tmp/output-`{basename $test}
|
||||||
if ( test -e $test_output) rm $test_output
|
if ( test -e $test_output) rm $test_output
|
||||||
|
|
||||||
$test $test_output &
|
$test $test_output &
|
||||||
testpid=$apid
|
testpid=$APID
|
||||||
sleep 1
|
sleep 1
|
||||||
echo hi > /proc/$testpid/note
|
echo hi > /proc/$testpid/note
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ test_output = /tmp/output-`{basename $test}
|
||||||
if ( test -e $test_output) rm $test_output
|
if ( test -e $test_output) rm $test_output
|
||||||
|
|
||||||
$test > $test_output >[2=1] &
|
$test > $test_output >[2=1] &
|
||||||
testpid=$apid
|
testpid=$APID
|
||||||
|
|
||||||
wait $testpid
|
wait $testpid
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ test_output = /tmp/output-`{basename $test}
|
||||||
if ( test -e $test_output) rm $test_output
|
if ( test -e $test_output) rm $test_output
|
||||||
|
|
||||||
$test $test_output &
|
$test $test_output &
|
||||||
testpid = $apid
|
testpid = $APID
|
||||||
|
|
||||||
while ( ! test -e $test_output ) { sleep 2 }
|
while ( ! test -e $test_output ) { sleep 2 }
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ test_output = /tmp/output-`{basename $test}
|
||||||
if ( test -e $test_output) rm $test_output
|
if ( test -e $test_output) rm $test_output
|
||||||
|
|
||||||
$test > $test_output &
|
$test > $test_output &
|
||||||
testpid=$apid
|
testpid=$APID
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
if ( cat $test_output | grep 'PASS' > /dev/null ) {
|
if ( cat $test_output | grep 'PASS' > /dev/null ) {
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
* to boot a minimal system.
|
* to boot a minimal system.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define ENV_APID "apid"
|
#define ENV_APID "APID"
|
||||||
#define ENV_USER "user"
|
#define ENV_USER "user"
|
||||||
#define ENV_HOME "home"
|
#define ENV_HOME "home"
|
||||||
#define ENV_IFS "ifs"
|
#define ENV_IFS "ifs"
|
||||||
|
|
Loading…
Reference in New Issue