[LTP] [PATCH] mkfs: print more info for debugging

Li Wang liwang@redhat.com
Tue Apr 20 10:39:42 CEST 2021


> > --- a/testcases/commands/mkfs/mkfs01.sh
> > +++ b/testcases/commands/mkfs/mkfs01.sh
> > @@ -128,7 +128,8 @@ mkfs_test()
> >       if [ -n "$device" ]; then
> >               mkfs_verify_type "$fs_type" "$device"
> >               if [ $? -ne 0 ]; then
> > -                     tst_res TFAIL "'${mkfs_cmd}' failed, not expected."
> > +                     tst_res TFAIL "'${mkfs_cmd}' failed, not expected type."
> Maybe "unexpected type"?
>
> I'd also change ${mkfs_cmd} to $mkfs_cmd (more readable).

Sounds good, I modified it with your suggestions and pushed it.

-- 
Regards,
Li Wang



More information about the ltp mailing list