mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 21:06: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 ***"
|
||||
|
||||
mkdir /tmp
|
||||
if [ ! -d /tmp ]; then
|
||||
mkdir /tmp
|
||||
fi
|
||||
cp /benchmark/bin/lmbench/hello /tmp/
|
||||
/benchmark/bin/lmbench/lat_proc -P 1 exec
|
@ -6,6 +6,8 @@ set -e
|
||||
|
||||
echo "*** Running the LMbench shell latency test ***"
|
||||
|
||||
mkdir /tmp
|
||||
if [ ! -d /tmp ]; then
|
||||
mkdir /tmp
|
||||
fi
|
||||
cp /benchmark/bin/lmbench/hello /tmp/
|
||||
/benchmark/bin/lmbench/lat_proc -P 1 shell
|
Loading…
x
Reference in New Issue
Block a user