Skip to content

Commit eb37c68

Browse files
committed
Update tests
1 parent 1e25ad0 commit eb37c68

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/check_urls.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2020-2024 Lin Song <linsongui@gmail.com>
2+
# Copyright (C) 2020-2025 Lin Song <linsongui@gmail.com>
33
#
44
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
55
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/

.github/workflows/cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2020-2024 Lin Song <linsongui@gmail.com>
2+
# Copyright (C) 2020-2025 Lin Song <linsongui@gmail.com>
33
#
44
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
55
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2020-2024 Lin Song <linsongui@gmail.com>
2+
# Copyright (C) 2020-2025 Lin Song <linsongui@gmail.com>
33
#
44
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
55
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/

.github/workflows/shellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2020-2024 Lin Song <linsongui@gmail.com>
2+
# Copyright (C) 2020-2025 Lin Song <linsongui@gmail.com>
33
#
44
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
55
# Unported License: http://creativecommons.org/licenses/by-sa/3.0/

.github/workflows/test_set_1.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -518,13 +518,13 @@ jobs:
518518
cp -f /opt/src/scripts/extras/vpnupgrade.sh ./vpnup.sh
519519
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
520520
521-
for ver in 5.0 ""; do
521+
for ver in 5.1 ""; do
522522
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
523523
bash vpnup.sh <<ANSWERS
524524
525525
ANSWERS
526526
restart_ipsec
527-
[ -z "$ver" ] && ver=5.2
527+
[ -z "$ver" ] && ver=5.3
528528
ipsec --version | grep "$ver"
529529
ipsec status | grep -q l2tp-psk
530530
ipsec status | grep -q xauth-psk
@@ -538,13 +538,13 @@ jobs:
538538
fi
539539
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
540540
541-
for ver in 5.1 ""; do
541+
for ver in 5.2 ""; do
542542
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
543543
bash vpnup.sh <<ANSWERS
544544
545545
ANSWERS
546546
restart_ipsec
547-
[ -z "$ver" ] && ver=5.2
547+
[ -z "$ver" ] && ver=5.3
548548
ipsec --version | grep "$ver"
549549
ipsec status | grep -q l2tp-psk
550550
ipsec status | grep -q xauth-psk

.github/workflows/test_set_2.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ jobs:
494494
cp -f "$GITHUB_WORKSPACE"/extras/vpnupgrade.sh ./vpnup.sh
495495
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
496496
497-
for ver in 5.0 ""; do
497+
for ver in 5.1 ""; do
498498
if [ "$os_type" = "alpine" ] \
499499
|| grep -qs trixie /etc/debian_version; then
500500
ipsec whack --shutdown || true
@@ -504,7 +504,7 @@ jobs:
504504
505505
ANSWERS
506506
restart_ipsec
507-
[ -z "$ver" ] && ver=5.2
507+
[ -z "$ver" ] && ver=5.3
508508
ipsec --version | grep "$ver"
509509
ipsec status | grep -q l2tp-psk
510510
ipsec status | grep -q xauth-psk
@@ -518,7 +518,7 @@ jobs:
518518
fi
519519
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
520520
521-
for ver in 5.1 ""; do
521+
for ver in 5.2 ""; do
522522
if [ "$os_type" = "alpine" ] \
523523
|| grep -qs trixie /etc/debian_version; then
524524
ipsec whack --shutdown || true
@@ -528,7 +528,7 @@ jobs:
528528
529529
ANSWERS
530530
restart_ipsec
531-
[ -z "$ver" ] && ver=5.2
531+
[ -z "$ver" ] && ver=5.3
532532
ipsec --version | grep "$ver"
533533
ipsec status | grep -q l2tp-psk
534534
ipsec status | grep -q xauth-psk

0 commit comments

Comments
 (0)