Author: marcel Date: Mon Sep 22 16:52:09 2014 New Revision: 271981 URL: http://svnweb.freebsd.org/changeset/base/271981
Log: Rename the tests to something more meaningful. I spent way too long trying to get the test name right, failed, gave up and used a sequence number instead. When I realized it wasn't because of the number of underscores in the name that I really started to think. I didn't have braces around the variable names ... Thus: test_1 is now called apm_1x1_512_qcow, which gives you all you need to run mkimg by hand. Dumb-ass: marcel Modified: head/usr.bin/mkimg/tests/mkimg.sh Modified: head/usr.bin/mkimg/tests/mkimg.sh ============================================================================== --- head/usr.bin/mkimg/tests/mkimg.sh Mon Sep 22 16:45:28 2014 (r271980) +++ head/usr.bin/mkimg/tests/mkimg.sh Mon Sep 22 16:52:09 2014 (r271981) @@ -140,20 +140,17 @@ rebase_body() atf_init_test_cases() { - local B F G S nm nr + local B F G S nm - nr=1 for G in $mkimg_geom_list; do for B in $mkimg_blksz_list; do for S in $mkimg_scheme_list; do for F in $mkimg_format_list; do - nm="test_$nr" - # nm="$G_$B_$S_$F" + nm="${S}_${G}_${B}_${F}" atf_test_case $nm eval "${nm}_body() { mkimg_test $G $B $S $F; }" mkimg_tests="${mkimg_tests} ${nm}" atf_add_test_case $nm - nr=$((nr+1)) done done done _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"