Update tests
This commit is contained in:
parent
eb20b64c35
commit
ba1029163f
6
.github/workflows/cron.yml
vendored
6
.github/workflows/cron.yml
vendored
@ -511,7 +511,7 @@ 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.4 4.6; do
|
for ver in 4.4 ""; do
|
||||||
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
|
||||||
@ -986,7 +986,7 @@ 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.4 4.6; do
|
for ver in 4.4 ""; do
|
||||||
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
|
||||||
@ -1396,7 +1396,7 @@ 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 4.6; do
|
for ver in 4.5 ""; do
|
||||||
ipsec whack --shutdown || true
|
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
|
||||||
|
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -540,7 +540,7 @@ 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.4 4.6; do
|
for ver in 4.4 ""; do
|
||||||
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
|
||||||
@ -1015,7 +1015,7 @@ 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.4 4.6; do
|
for ver in 4.4 ""; do
|
||||||
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
|
||||||
@ -1425,7 +1425,7 @@ 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 4.6; do
|
for ver in 4.5 ""; do
|
||||||
ipsec whack --shutdown || true
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user