projects
/
debian
/
gzip
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gzip: new option --synchronous
[debian/gzip]
/
tests
/
stdin
diff --git
a/tests/stdin
b/tests/stdin
index 8dcfa681a1c6b7b9f9876bb933055f525d61ac0f..190687f9696c7741d2e30e687c042a999e72b56e 100755
(executable)
--- a/
tests/stdin
+++ b/
tests/stdin
@@
-1,7
+1,7
@@
#!/bin/sh
# Ensure that gzip interprets "-" as stdin.
#!/bin/sh
# Ensure that gzip interprets "-" as stdin.
-# Copyright (C) 2009-201
0
Free Software Foundation, Inc.
+# Copyright (C) 2009-201
6
Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-17,16
+17,10
@@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# limit so don't run it by default.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# limit so don't run it by default.
-if test "$VERBOSE" = yes; then
- set -x
- zgrep --version
-fi
+. "${srcdir=.}/init.sh"; path_prepend_ ..
-: ${srcdir=.}
-. "$srcdir/tests/init.sh"
-
-printf a | gzip > in || framework_failure
-printf aaa > exp || framework_failure
+printf a | gzip > in || framework_failure_
+printf aaa > exp || framework_failure_
fail=0
gzip -dc in - in < in > out 2>err || fail=1
fail=0
gzip -dc in - in < in > out 2>err || fail=1