[LTP] [PATCH v3] tst_test.sh: Normalize the locale

Cyril Hrubis chrubis@suse.cz
Fri Oct 21 11:11:29 CEST 2022


Hi!
> > diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh
> > index 28b7d12ba..5ebbe1d25 100644
> > --- a/testcases/lib/tst_test.sh
> > +++ b/testcases/lib/tst_test.sh
> > @@ -831,3 +831,5 @@ if [ -z "$TST_NO_DEFAULT_RUN" ]; then
> >  		fi
> >  	fi
> >  fi
> > +
> > +export LC_ALL=C
> 
> Thinking about it twice this might have impact on other tests.
> Li, Cyril, any idea about it?

Actually I think that we should have put this into the tst_test.sh from
the start. We do have this as a workaround in du01.sh and telnet01.sh
already.

The plus side is that all possible bugreports from users will have all
messages in english which would make debugging easier.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list