busybox/testsuite/hexdump.tests
<<
>>
Prefs
   1#!/bin/sh
   2
   3# Copyright 2018 by Denys Vlasenko <vda.linux@googlemail.com>
   4# Licensed under GPLv2, see file LICENSE in this source tree.
   5
   6. ./testing.sh
   7
   8# testing "description" "command" "result" "infile" "stdin"
   9testing 'hexdump -C with four NULs' \
  10        'hexdump -C' \
  11        "\
  1200000000  00 00 00 00                                       |....|
  1300000004
  14" \
  15        '' \
  16        '\0\0\0\0'
  17
  18exit $FAILCOUNT
  19