File: test

package info (click to toggle)
vip-manager 1.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 352 kB
  • sloc: sh: 310; makefile: 71
file content (25 lines) | stat: -rwxr-xr-x 466 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
#!/bin/bash

set -e

# set ETCD_ARCH for ETCD_UNSUPPORTED_ARCH 
# see https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/supported-platform.md#current-support 
ETCD_ARCH= 
DEB_HOST_ARCH=$(dpkg-architecture -qDEB_HOST_ARCH) 
case $DEB_HOST_ARCH in 
	arm64) 
		ETCD_ARCH=arm64 
		;; 
	armel) 
		ETCD_ARCH=arm 
		;; 
	armhf) 
		ETCD_ARCH=arm 
		;; 
	i386) 
		ETCD_ARCH=386 
		;; 
esac 

ETCD_UNSUPPORTED_ARCH=$ETCD_ARCH ./test/behaviour_test.sh
exit $?