Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#!/bin/sh
# Id: include-value,v 1.3 2004/04/11 17:56:47 karl Exp 
# Test @value expansion in @include and @verbatiminclude names.

unset TEXINFO_OUTPUT
: ${srcdir=.}

../makeinfo -I $srcdir $srcdir/include-value.txi
exit_status=$?

if test $exit_status = 0; then
  # should have three instances of _included_,
  # and three of {included}.
  count=`grep _included_ include-value.info | wc -l`
  test $count = 3 || exit_status=`expr $exit_status + 1`

  count=`grep '{included}' include-value.info | wc -l`
  test $count = 3 || exit_status=`expr $exit_status + 1`
fi

rm -f include-value.info
exit $exit_status