summaryrefslogtreecommitdiffstats
path: root/libs/libyang-legacy/test.sh
blob: 322c7f3bb5fc3bfbe4d6fe38e3ed1766199688a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

case "$1" in
	libyang-legacy)
		# Runtime-only; the unversioned symlink belongs to libyang 5.x.
		[ -e /usr/lib/libyang.so.3 ] || {
			echo "libyang.so.3 not found" >&2
			exit 1
		}
		;;
	*)
		echo "Unsupported test target: $1" >&2
		exit 1
		;;
esac