Update tests
This commit is contained in:
parent
2867107105
commit
c098e02ff4
10
.github/workflows/cron.yml
vendored
10
.github/workflows/cron.yml
vendored
@ -530,7 +530,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
||||||
|
|
||||||
for ver in 4.3 4.4 4.5; do
|
for ver in 4.3 4.4 4.5 4.6; do
|
||||||
[ "$ver" = "4.3" ] && shc=sh || shc=bash
|
[ "$ver" = "4.3" ] && shc=sh || shc=bash
|
||||||
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
||||||
"$shc" vpnup.sh <<ANSWERS
|
"$shc" vpnup.sh <<ANSWERS
|
||||||
@ -1004,7 +1004,7 @@ jobs:
|
|||||||
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-ubuntu
|
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-ubuntu
|
||||||
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
||||||
|
|
||||||
for ver in 4.3 4.4 4.5; do
|
for ver in 4.3 4.4 4.5 4.6; do
|
||||||
[ "$ver" = "4.3" ] && shc=sh || shc=bash
|
[ "$ver" = "4.3" ] && shc=sh || shc=bash
|
||||||
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
||||||
"$shc" vpnup.sh <<ANSWERS
|
"$shc" vpnup.sh <<ANSWERS
|
||||||
@ -1400,7 +1400,8 @@ jobs:
|
|||||||
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade
|
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade
|
||||||
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
|
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
|
||||||
|
|
||||||
for ver in 4.5; do
|
for ver in 4.5 4.6; do
|
||||||
|
ipsec whack --shutdown || true
|
||||||
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
||||||
bash vpnup.sh <<ANSWERS
|
bash vpnup.sh <<ANSWERS
|
||||||
y
|
y
|
||||||
@ -1416,7 +1417,8 @@ jobs:
|
|||||||
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-alpine
|
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-alpine
|
||||||
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
||||||
|
|
||||||
for ver in 4.5; do
|
for ver in 4.5 4.6; do
|
||||||
|
ipsec whack --shutdown || true
|
||||||
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
||||||
bash vpnup.sh <<ANSWERS
|
bash vpnup.sh <<ANSWERS
|
||||||
y
|
y
|
||||||
|
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -559,7 +559,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
||||||
|
|
||||||
for ver in 4.3 4.4 4.5; do
|
for ver in 4.3 4.4 4.5 4.6; do
|
||||||
[ "$ver" = "4.3" ] && shc=sh || shc=bash
|
[ "$ver" = "4.3" ] && shc=sh || shc=bash
|
||||||
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
||||||
"$shc" vpnup.sh <<ANSWERS
|
"$shc" vpnup.sh <<ANSWERS
|
||||||
@ -1033,7 +1033,7 @@ jobs:
|
|||||||
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-ubuntu
|
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-ubuntu
|
||||||
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
||||||
|
|
||||||
for ver in 4.3 4.4 4.5; do
|
for ver in 4.3 4.4 4.5 4.6; do
|
||||||
[ "$ver" = "4.3" ] && shc=sh || shc=bash
|
[ "$ver" = "4.3" ] && shc=sh || shc=bash
|
||||||
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
||||||
"$shc" vpnup.sh <<ANSWERS
|
"$shc" vpnup.sh <<ANSWERS
|
||||||
@ -1429,7 +1429,8 @@ jobs:
|
|||||||
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade
|
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade
|
||||||
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
|
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
|
||||||
|
|
||||||
for ver in 4.5; do
|
for ver in 4.5 4.6; do
|
||||||
|
ipsec whack --shutdown || true
|
||||||
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
||||||
bash vpnup.sh <<ANSWERS
|
bash vpnup.sh <<ANSWERS
|
||||||
y
|
y
|
||||||
@ -1445,7 +1446,8 @@ jobs:
|
|||||||
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-alpine
|
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-alpine
|
||||||
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
|
||||||
|
|
||||||
for ver in 4.5; do
|
for ver in 4.5 4.6; do
|
||||||
|
ipsec whack --shutdown || true
|
||||||
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
|
||||||
bash vpnup.sh <<ANSWERS
|
bash vpnup.sh <<ANSWERS
|
||||||
y
|
y
|
||||||
|
Loading…
Reference in New Issue
Block a user