From 7089c31d578d683804598b405e2cdf375cd7ce33 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 14 Apr 2008 19:50:06 +0000 Subject: od: fix "od -b" --- testsuite/od.tests | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 testsuite/od.tests (limited to 'testsuite/od.tests') diff --git a/testsuite/od.tests b/testsuite/od.tests new file mode 100755 index 000000000..60f22d5dd --- /dev/null +++ b/testsuite/od.tests @@ -0,0 +1,17 @@ +#!/bin/sh +# Copyright 2008 by Denys Vlasenko +# Licensed under GPL v2, see file LICENSE for details. + +. testing.sh + +# testing "test name" "options" "expected result" "file input" "stdin" + +testing "od -b" \ + "echo HELLO | od -b" \ +"\ +0000000 110 105 114 114 117 012 +0000006 +" \ + "" "HELLO" + +exit $FAILCOUNT -- cgit v1.2.3