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 <[EMAIL PROTECTED]>:
> OK then :)
>
> I guess the only way which left for me is to start learning testsuites :)
>
> --
> Vladimir
>
>
> 2008/3/27, Natanael Copa <[EMAIL PROTECTED]>:
> >
> > On Thu, 2008-03-27 at 10:16 -0700, [EMAIL PROTECTED] 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
> > >
> >
> >
>
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox