mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
dtrace tests: Stop hard-coding an incorrect path to sleep(1)
MFC after: 1 week
This commit is contained in:
parent
e25922b34e
commit
9f5dd61e14
|
@ -59,7 +59,7 @@ pinger()
|
|||
{
|
||||
while true; do
|
||||
ping -A inet localhost
|
||||
/usr/bin/sleep 1
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ rupper()
|
|||
{
|
||||
while true; do
|
||||
rup localhost
|
||||
/usr/bin/sleep 1
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ EOF
|
|||
sleeper()
|
||||
{
|
||||
while true; do
|
||||
/usr/bin/sleep 1
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ outf=/tmp/sched.args.$$
|
|||
|
||||
script()
|
||||
{
|
||||
$dtrace -c '/usr/bin/sleep 10' -o $outf -qs /dev/stdin <<EOF
|
||||
$dtrace -c 'sleep 10' -o $outf -qs /dev/stdin <<EOF
|
||||
xdt:sched::off-cpu,
|
||||
xdt:sched::on-cpu,
|
||||
xdt:sched::block,
|
||||
|
|
Loading…
Reference in a new issue