Module Name:    src
Committed By:   ozaki-r
Date:           Tue Oct 18 04:10:24 UTC 2016

Modified Files:
        src/tests/net/if_gif: t_gif.sh
        src/tests/net/if_pppoe: t_pppoe.sh

Log Message:
Make test names self-descriptive


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/net/if_gif/t_gif.sh
cvs rdiff -u -r1.4 -r1.5 src/tests/net/if_pppoe/t_pppoe.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/net/if_gif/t_gif.sh
diff -u src/tests/net/if_gif/t_gif.sh:1.5 src/tests/net/if_gif/t_gif.sh:1.6
--- src/tests/net/if_gif/t_gif.sh:1.5	Wed Aug 10 08:29:20 2016
+++ src/tests/net/if_gif/t_gif.sh	Tue Oct 18 04:10:24 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: t_gif.sh,v 1.5 2016/08/10 08:29:20 ozaki-r Exp $
+#	$NetBSD: t_gif.sh,v 1.6 2016/10/18 04:10:24 ozaki-r Exp $
 #
 # Copyright (c) 2015 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -739,7 +739,7 @@ add_test()
 	inner=$3
 	outer=$4
 
-	name="${category}${inner}over${outer}"
+	name="gif_${category}_${inner}over${outer}"
 	fulldesc="Does ${inner} over ${outer} if_gif ${desc}"
 
 	atf_test_case ${name} cleanup

Index: src/tests/net/if_pppoe/t_pppoe.sh
diff -u src/tests/net/if_pppoe/t_pppoe.sh:1.4 src/tests/net/if_pppoe/t_pppoe.sh:1.5
--- src/tests/net/if_pppoe/t_pppoe.sh:1.4	Wed Sep 14 01:48:08 2016
+++ src/tests/net/if_pppoe/t_pppoe.sh	Tue Oct 18 04:10:24 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: t_pppoe.sh,v 1.4 2016/09/14 01:48:08 knakahara Exp $
+#	$NetBSD: t_pppoe.sh,v 1.5 2016/10/18 04:10:24 ozaki-r Exp $
 #
 # Copyright (c) 2016 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -186,42 +186,42 @@ run_test()
 
 atf_test_case pap cleanup
 
-pap_head()
+pppoe_pap_head()
 {
 	atf_set "descr" "Does simple pap tests"
 	atf_set "require.progs" "rump_server pppoectl"
 }
 
-pap_body()
+pppoe_pap_body()
 {
 	run_test pap
 }
 
-pap_cleanup()
+pppoe_pap_cleanup()
 {
 	cleanup
 }
 
 atf_test_case chap cleanup
 
-chap_head()
+pppoe_chap_head()
 {
 	atf_set "descr" "Does simple chap tests"
 	atf_set "require.progs" "rump_server pppoectl"
 }
 
-chap_body()
+pppoe_chap_body()
 {
 	run_test chap
 }
 
-chap_cleanup()
+pppoe_chap_cleanup()
 {
 	cleanup
 }
 
 atf_init_test_cases()
 {
-	atf_add_test_case pap
-	atf_add_test_case chap
+	atf_add_test_case pppoe_pap
+	atf_add_test_case pppoe_chap
 }

Reply via email to