]> diplodocus.org Git - nmh/commitdiff
Use test_skip in test-textcharset if not built with iconv.
authorDavid Levine <levinedl@acm.org>
Sun, 9 Feb 2014 18:52:28 +0000 (12:52 -0600)
committerDavid Levine <levinedl@acm.org>
Sun, 9 Feb 2014 18:52:28 +0000 (12:52 -0600)
test/mhshow/test-textcharset

index e71d423..c1a69d1 100755 (executable)
@@ -17,8 +17,7 @@ fi
 setup_test
 
 if test "$ICONV_ENABLED" -eq 0; then
-  echo "$0: skipping test-textcharset because nmh was built without iconv"
-  exit 0
+  test_skip 'test-textcharset requires that nmh have been built with iconv'
 fi
 
 expected="$MH_TEST_DIR"/$$.expected