blob: 02ce6c9379dfaa271ada745fb35cecfcc1600b76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
case "$1" in
oci-runtime-tool)
oci-runtime-tool --version 2>&1 | grep -F "$2"
;;
oci-runtime-tests)
# runtimetest and the validation/*.go test binaries installed here have
# no version flag; probing any of them with one runs the OCI compliance
# test it implements instead, out of the working directory it expects
exit 0
;;
*)
echo "Untested package: $1" >&2
exit 1
;;
esac
|