[LTP] [PATCH v3, 1/2] lib/tst_test.sh: Make tst_umount work with argument that has trailing slash

Petr Vorel pvorel@suse.cz
Mon Jul 19 08:49:08 CEST 2021


Hi,

...
>  	while [ "$i" -lt 50 ]; do
> -		if umount "$device" > /dev/null; then
> +		if umount "$device"/ > /dev/null; then
nit: although previous is working, I'd prefer "$device/"

Kind regards,
Petr


More information about the ltp mailing list