[RFC PATCH 4/4] Add test for trie

Dmitry V. Levin ldv at altlinux.org
Sat Aug 15 21:02:48 UTC 2020


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.


-- 
ldv


More information about the Strace-devel mailing list