mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-09 13:26:48 +00:00
Fix the lmbench-exec/shell error when /tmp exists
This commit is contained in:
parent
6414111cc5
commit
d04111079c
@ -6,6 +6,8 @@ set -e
|
|||||||
|
|
||||||
echo "*** Running the LMbench exec latency test ***"
|
echo "*** Running the LMbench exec latency test ***"
|
||||||
|
|
||||||
mkdir /tmp
|
if [ ! -d /tmp ]; then
|
||||||
|
mkdir /tmp
|
||||||
|
fi
|
||||||
cp /benchmark/bin/lmbench/hello /tmp/
|
cp /benchmark/bin/lmbench/hello /tmp/
|
||||||
/benchmark/bin/lmbench/lat_proc -P 1 exec
|
/benchmark/bin/lmbench/lat_proc -P 1 exec
|
@ -6,6 +6,8 @@ set -e
|
|||||||
|
|
||||||
echo "*** Running the LMbench shell latency test ***"
|
echo "*** Running the LMbench shell latency test ***"
|
||||||
|
|
||||||
mkdir /tmp
|
if [ ! -d /tmp ]; then
|
||||||
|
mkdir /tmp
|
||||||
|
fi
|
||||||
cp /benchmark/bin/lmbench/hello /tmp/
|
cp /benchmark/bin/lmbench/hello /tmp/
|
||||||
/benchmark/bin/lmbench/lat_proc -P 1 shell
|
/benchmark/bin/lmbench/lat_proc -P 1 shell
|
Loading…
x
Reference in New Issue
Block a user