Skip to content

Commit 93d0cb8

Browse files
authored
Fixed typos
1 parent c9ce492 commit 93d0cb8

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

test/test_actions.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ if [ "$?" -eq 4 ]; then
111111
else
112112
retval=1
113113
fi
114-
echo_result "CRON: Dublicate cron job check" "$retval" "$tmpfile" "$cmd"
114+
echo_result "CRON: Duplicate cron job check" "$retval" "$tmpfile" "$cmd"
115115

116116
# Add second cron job
117117
cmd="v_add_cron_job $user 2 2 2 2 2 echo 2"
@@ -142,14 +142,14 @@ cmd="v_add_sys_ip 198.18.0.123 255.255.255.255 $interface $user"
142142
$cmd > $tmpfile 2>> $tmpfile
143143
echo_result "IP: Adding ip 198.18.0.123" "$?" "$tmpfile" "$cmd"
144144

145-
# Add dublicate ip
145+
# Add duplicate ip
146146
$cmd > $tmpfile 2>> $tmpfile
147147
if [ "$?" -eq 4 ]; then
148148
retval=0
149149
else
150150
retval=1
151151
fi
152-
echo_result "IP: Dublicate ip address check" "$retval" "$tmpfile" "$cmd"
152+
echo_result "IP: Duplicate ip address check" "$retval" "$tmpfile" "$cmd"
153153

154154
# Delete ip address
155155
cmd="v_delete_sys_ip 198.18.0.123"
@@ -172,28 +172,28 @@ cmd="v_add_web_domain $user $domain 198.18.0.125"
172172
$cmd > $tmpfile 2>> $tmpfile
173173
echo_result "WEB: Adding domain $domain on 198.18.0.125" "$?" "$tmpfile" "$cmd"
174174

175-
# Add dublicate
175+
# Add duplicate
176176
$cmd > $tmpfile 2>> $tmpfile
177177
if [ "$?" -eq 4 ]; then
178178
retval=0
179179
else
180180
retval=1
181181
fi
182-
echo_result "WEB: Dublicate web domain check" "$retval" "$tmpfile" "$cmd"
182+
echo_result "WEB: Duplicate web domain check" "$retval" "$tmpfile" "$cmd"
183183

184184
# Add web domain alias
185185
cmd="v_add_web_domain_alias $user $domain v3.$domain"
186186
$cmd > $tmpfile 2>> $tmpfile
187187
echo_result "WEB: Adding alias v3.$domain" "$?" "$tmpfile" "$cmd"
188188

189-
# Alias dublicate
189+
# Alias duplicate
190190
$cmd > $tmpfile 2>> $tmpfile
191191
if [ "$?" -eq 4 ]; then
192192
retval=0
193193
else
194194
retval=1
195195
fi
196-
echo_result "WEB: Dublicate web alias check" "$retval" "$tmpfile" "$cmd"
196+
echo_result "WEB: Duplicate web alias check" "$retval" "$tmpfile" "$cmd"
197197

198198
# Add web domain elog
199199
cmd="v_add_web_domain_elog $user $domain"
@@ -252,28 +252,28 @@ cmd="v_add_dns_domain $user $domain 198.18.0.125"
252252
$cmd > $tmpfile 2>> $tmpfile
253253
echo_result "DNS: Adding dns domain $domain" "$?" "$tmpfile" "$cmd"
254254

255-
# Add dublicate
255+
# Add duplicate
256256
$cmd > $tmpfile 2>> $tmpfile
257257
if [ "$?" -eq 4 ]; then
258258
retval=0
259259
else
260260
retval=1
261261
fi
262-
echo_result "DNS: Dublicate domain check" "$retval" "$tmpfile" "$cmd"
262+
echo_result "DNS: Duplicate domain check" "$retval" "$tmpfile" "$cmd"
263263

264264
# Add dns domain record
265265
cmd="v_add_dns_domain_record $user $domain test A 198.18.0.125 20"
266266
$cmd > $tmpfile 2>> $tmpfile
267267
echo_result "DNS: Adding dns domain record" "$?" "$tmpfile" "$cmd"
268268

269-
# Add dublicate
269+
# Add duplicate
270270
$cmd > $tmpfile 2>> $tmpfile
271271
if [ "$?" -eq 4 ]; then
272272
retval=0
273273
else
274274
retval=1
275275
fi
276-
echo_result "DNS: Dublicate record check" "$retval" "$tmpfile" "$cmd"
276+
echo_result "DNS: Duplicate record check" "$retval" "$tmpfile" "$cmd"
277277

278278
# Delete dns domain record
279279
cmd="v_delete_dns_domain_record $user $domain 20"

0 commit comments

Comments
 (0)