[RFC PATCH 4/4] Add test for trie

Ákos Uzonyi uzonyi.akos at gmail.com
Sat Aug 15 23:00:16 UTC 2020


On Sat, 15 Aug 2020 at 23:02, Dmitry V. Levin <ldv at altlinux.org> wrote:
> On Sat, Aug 15, 2020 at 06:18:26PM +0300, Dmitry V. Levin wrote:
> > On Thu, Aug 13, 2020 at 05:32:42PM +0200, Ákos Uzonyi wrote:
> [...]
> > > --- /dev/null
> > > +++ b/tests/trie.test
> > > @@ -0,0 +1,12 @@
> > > +#!/bin/sh
> > > +#
> > > +# Test trie.
> > > +#
> > > +# Copyright (c) 2020 The strace developers.
> > > +# All rights reserved.
> > > +#
> > > +# SPDX-License-Identifier: LGPL-2.1-or-later
> > > +
> > > +. "${srcdir=.}/init.sh"
> > > +
> > > +run_prog
> >
> > I suppose you can add something like
> >
> >       trie    . "${srcdir=.}/init.sh"; run_prog
> >
> > to tests/gen_tests.in with the same effect.
>
> Or maybe just a simple line
>
>          trie    run_prog
>
> would be sufficient.

Yes, the first one doesn't even work ;).


More information about the Strace-devel mailing list