Improved test.sh

progress
Avril 2 years ago
parent ef7f06e8e0
commit 0a0fb4555a
Signed by: flanchan
GPG Key ID: 966FE03CC0E0B199

@ -42,7 +42,7 @@ dd if=/dev/urandom of=$TFILE bs=$FSIZE count=$FCNT >> /dev/null 2>&1 || exit -1
cp $TFILE $TFILE2 || exit -1 cp $TFILE $TFILE2 || exit -1
for ex in "$@"; do for ex in "$@"; do
if [[ -f "$ex" ]]; then if [[ -f "${ex%% *}" ]] || command -v "${ex%% *}" >/dev/null 2>&1; then
echo ">>> Testing $ex" echo ">>> Testing $ex"
stest "$ex" || exit 1 stest "$ex" || exit 1
fi fi

Loading…
Cancel
Save