]> diplodocus.org Git - nmh/blobdiff - test/format/test-dp
Refined commit 9b70e8396d50989db2177547515594bc15ee8b17 to allow
[nmh] / test / format / test-dp
index 023d579..b1a1995 100755 (executable)
@@ -42,8 +42,8 @@ check "$expected" "$actual"
 # check -version
 case `$dp -v` in
   dp\ --*) ;;
-  *           ) printf "$0: dp -v generated unexpected output\n" >&2
-                failed=`expr ${failed:-0} + 1`;;
+  *      ) printf '%s: dp -v generated unexpected output\n' "$0" >&2
+           failed=`expr ${failed:-0} + 1`;;
 esac
 
 # check unknown switch