File: kvm

package info (click to toggle)
libreswan 4.3-1%2Bdeb11u4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 62,688 kB
  • sloc: ansic: 108,293; sh: 25,973; xml: 11,756; python: 10,230; makefile: 1,580; javascript: 1,353; yacc: 825; sed: 647; perl: 584; lex: 159; awk: 156
file content (38 lines) | stat: -rwxr-xr-x 558 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh

if test $# = 0; then
    cat <<EOF
Usage:
   $0 sh <domain>
   $0 test [<test> ...]
   $0 diffs [<test> ...]
   $0 results [<test> ...]
EOF
    exit 1
fi

op=$1; shift

case $op in
    sh )
	exec make kvmsh-"$*"
	;;
    test )
	if test $# -eq 0 ; then
	    set testing/pluto
	fi
	exec make kvm-test KVM_TESTS="$*"
	;;
    diff|diffs )
	if test $# -eq 0 ; then
	    set testing/pluto
	fi
	exec make kvm-diffs KVM_TESTS="$*"
	;;
    result|results )
	if test $# -eq 0 ; then
	    set testing/pluto
	fi
	exec make kvm-results KVM_TESTS="$*"
	;;
esac