Ответ: MDEV: regexps

Vladimir Dronnikov dronnikov at gmail.com
Thu Mar 27 11:12:25 PDT 2008


Oops! Making mdev testsuite will be tricky!

mdev has very tighly hardcoded paths: /dev and /etc/mdev.conf.

To be tested mdev should IMO either use relatives paths ("dev" and,
after xchdir("dev"), xfopen("../etc/mdev.conf", ...)) or be given
these paths as options, e.g.: mdev -s -c /etc/mdev.conf /dev. The
latter IMO seems better...

Of two what do we choose, list?

--
Vladimir


2008/3/27, Vladimir Dronnikov <dronnikov at gmail.com>:
> OK then :)
>
> I guess the only way which left for me is to start learning testsuites :)
>
> --
> Vladimir
>
>
> 2008/3/27, Natanael Copa <natanael.copa at gmail.com>:
> >
> > On Thu, 2008-03-27 at 10:16 -0700, dronnikov at gmail.com wrote:
> > > Hello!
> > >
> > > I see touching mdev is very peculiar task :)
> > > So I decided to split the whole patch: attached is the first part which
> > adds regexp substitution in rename clause
> > > and nothing more. It at least works for me and Natanael Copa
> > (natanael.copa at gmail.com).
> >
> > i havent had time to test but i like the idea.
> >
> > >
> > > Natanael, please confirm it is working.
> > > Denys, please consider applying.
> > >
> > > --
> > > Vladimir
> > >
> >
> >
>


More information about the busybox mailing list