gzip/tests/test-simple
Petr Šabata 891537f1ca RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/gzip#acd220d425adb9f626284cb2e893c1bc9047a439
2020-10-15 12:19:44 +02:00

12 lines
205 B
Bash

#!/bin/sh
set -ex
# exercise installed gzip/gunzip programs
echo "Bla" > bla.file
cp bla.file bla.file.orig
gzip bla.file
gunzip bla.file.gz
cmp bla.file bla.file.orig
echo "hi"
rm bla.file bla.file.orig