source: branches/3.2/mindi-busybox/testsuite/od.tests @ 3232

Last change on this file since 3232 was 3232, checked in by bruno, 5 years ago
  • Update mindi-busybox to 1.21.1
  • Property svn:executable set to *
File size: 624 bytes
Line 
1#!/bin/sh
2# Copyright 2008 by Denys Vlasenko
3# Licensed under GPLv2, see file LICENSE in this source tree.
4
5. ./testing.sh
6
7# testing "test name" "commands" "expected result" "file input" "stdin"
8
9optional DESKTOP
10testing "od -b" \
11    "od -b" \
12"\
130000000 110 105 114 114 117
140000005
15" \
16    "" "HELLO"
17SKIP=
18
19optional DESKTOP LONG_OPTS
20testing "od -b --traditional" \
21    "od -b --traditional" \
22"\
230000000 110 105 114 114 117
240000005
25" \
26    "" "HELLO"
27SKIP=
28
29optional DESKTOP LONG_OPTS
30testing "od -b --traditional FILE" \
31    "od -b --traditional input" \
32"\
330000000 110 105 114 114 117
340000005
35" \
36    "HELLO" ""
37SKIP=
38
39exit $FAILCOUNT
Note: See TracBrowser for help on using the repository browser.