File: run_fuzz.sh

package info (click to toggle)
libxmlbird 1.2.15-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 308 kB
  • sloc: python: 649; xml: 122; sh: 51; makefile: 14
file content (13 lines) | stat: -rwxr-xr-x 207 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

PKG_PATH=$(dirname "$(readlink -f "$0")")
cd "${PKG_PATH}"

if [ -e $1 ]; then
	LD_LIBRARY_PATH=./build/bin:$LD_LIBRARY_PATH ./build/bin/fuzz $1
	exit $?
fi

echo "Can not find file ($1)"
exit 1