Skip to content

Commit cf49795

Browse files
authored
Remove platform dependent operations (#20)
Installs fio using package_tool
1 parent a88e35e commit cf49795

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

fio/fio_run

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ else
9595
fi
9696
fi
9797

98-
ubuntu=0
99-
uname -a | grep -q -E 'Ubuntu|tegra'
100-
if [[ $? -eq 0 ]]; then
101-
ubuntu=1
102-
fi
103-
10498
run_results="Ran"
10599
iodepth_list=""
106100
max_disks=""
@@ -923,12 +917,7 @@ NO_ARGUMENTS=(
923917
#
924918
# Make sure latest is installed.
925919

926-
if [ $ubuntu -eq 0 ]; then
927-
yum -y install fio
928-
else
929-
apt install -y fio
930-
fi
931-
920+
test_tools/package_tool --packages fio --no_install $to_no_install
932921
# read arguments
933922
opts=$(getopt \
934923
--longoptions "$(printf "%s:," "${ARGUMENT_LIST[@]}")" \

0 commit comments

Comments
 (0)