Skip to content

Commit 55bb031

Browse files
committed
Update tests
1 parent 00b0d9a commit 55bb031

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

.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) 2022-2023 Lin Song <[email protected]>
2+
# Copyright (C) 2022-2024 Lin Song <[email protected]>
33

44
name: build
55

.github/workflows/test_set_1.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2022-2023 Lin Song <[email protected]>
2+
# Copyright (C) 2022-2024 Lin Song <[email protected]>
33

44
name: test_set_1
55

@@ -83,6 +83,11 @@ jobs:
8383
8484
bash wireguard.sh <<ANSWERS
8585
4
86+
1
87+
ANSWERS
88+
89+
bash wireguard.sh <<ANSWERS
90+
5
8691
y
8792
ANSWERS
8893
@@ -102,7 +107,7 @@ jobs:
102107
ls -ld ~/client.conf
103108
104109
bash wireguard.sh <<ANSWERS
105-
4
110+
5
106111
y
107112
ANSWERS
108113
@@ -126,7 +131,7 @@ jobs:
126131
grep -q 'Endpoint = vpn.example.com:51820' ~/client.conf
127132
128133
bash wireguard.sh <<ANSWERS
129-
4
134+
5
130135
y
131136
ANSWERS
132137

.github/workflows/test_set_2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2022-2023 Lin Song <[email protected]>
2+
# Copyright (C) 2022-2024 Lin Song <[email protected]>
33

44
name: test_set_2
55

.github/workflows/test_set_3.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2022-2023 Lin Song <[email protected]>
2+
# Copyright (C) 2022-2024 Lin Song <[email protected]>
33

44
name: test_set_3
55

@@ -68,6 +68,11 @@ jobs:
6868
6969
sudo bash wireguard.sh <<ANSWERS
7070
4
71+
1
72+
ANSWERS
73+
74+
sudo bash wireguard.sh <<ANSWERS
75+
5
7176
y
7277
ANSWERS
7378
@@ -87,7 +92,7 @@ jobs:
8792
ls -ld ~/client.conf
8893
8994
sudo bash wireguard.sh <<ANSWERS
90-
4
95+
5
9196
y
9297
ANSWERS
9398
@@ -111,7 +116,7 @@ jobs:
111116
grep -q 'Endpoint = vpn.example.com:51820' ~/client.conf
112117
113118
sudo bash wireguard.sh <<ANSWERS
114-
4
119+
5
115120
y
116121
ANSWERS
117122

0 commit comments

Comments
 (0)