Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net Make test names self-descriptive
details: https://anonhg.NetBSD.org/src/rev/80df1b44fe05
branches: trunk
changeset: 348418:80df1b44fe05
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue Oct 18 04:10:24 2016 +0000
description:
Make test names self-descriptive
diffstat:
tests/net/if_gif/t_gif.sh | 4 ++--
tests/net/if_pppoe/t_pppoe.sh | 18 +++++++++---------
2 files changed, 11 insertions(+), 11 deletions(-)
diffs (78 lines):
diff -r 6b7c1454f2fe -r 80df1b44fe05 tests/net/if_gif/t_gif.sh
--- a/tests/net/if_gif/t_gif.sh Tue Oct 18 03:38:50 2016 +0000
+++ b/tests/net/if_gif/t_gif.sh Tue Oct 18 04:10:24 2016 +0000
@@ -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 @@
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
diff -r 6b7c1454f2fe -r 80df1b44fe05 tests/net/if_pppoe/t_pppoe.sh
--- a/tests/net/if_pppoe/t_pppoe.sh Tue Oct 18 03:38:50 2016 +0000
+++ b/tests/net/if_pppoe/t_pppoe.sh Tue Oct 18 04:10:24 2016 +0000
@@ -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 @@
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
}
Home |
Main Index |
Thread Index |
Old Index