File: run-examples

package info (click to toggle)
libmrss 0.19.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 476 kB
  • sloc: ansic: 4,368; sh: 47; makefile: 46; php: 11
file content (11 lines) | stat: -rwxr-xr-x 211 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# Make sure that the examples compile and run

cd $AUTOPKGTEST_TMP

set -e

EXAMPLES_DIR=/usr/share/doc/libmrss0-dev/examples

gcc ${EXAMPLES_DIR}/new.c -lnxml -lmrss -o new && ./new >/dev/null
rm new