source: MondoRescue/branches/3.3/mindi-busybox/testsuite/uncompress.tests@ 3621

Last change on this file since 3621 was 3621, checked in by Bruno Cornec, 7 years ago

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

  • Property svn:executable set to *
File size: 458 bytes
Line 
1#!/bin/sh
2# Copyright 2011 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
9testing "uncompress < \x1f\x9d\x90 \x01 x N" \
10'uncompress 2>&1 1>/dev/null; echo $?' \
11"\
12uncompress: corrupted data
131
14" \
15"" "\
16\x1f\x9d\x90\
17\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\01\
18"
19
20exit $FAILCOUNT
Note: See TracBrowser for help on using the repository browser.