1
0
mirror of synced 2024-11-25 14:26:09 +03:00

Update tests

This commit is contained in:
hwdsl2 2022-01-29 01:28:05 -06:00
parent eb20b64c35
commit ba1029163f
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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