diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-10-14 10:46:13 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-10-14 10:46:13 +0000 |
commit | 1118d24fd3331c604f373376d60eeaac1f9def01 (patch) | |
tree | 9445865e7722f5d043e8dc4037bd627899ede9fa /tests/verbose.at | |
parent | dc6f7ebf20934b0d9975b0129b9d4c370d1d29bc (diff) | |
download | tar-1118d24fd3331c604f373376d60eeaac1f9def01.tar.gz |
New test verbose.at
Diffstat (limited to 'tests/verbose.at')
-rw-r--r-- | tests/verbose.at | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/verbose.at b/tests/verbose.at new file mode 100644 index 00000000..abd5a812 --- /dev/null +++ b/tests/verbose.at @@ -0,0 +1,44 @@ +# Process this file with autom4te to create testsuite. -*- Autotest -*- + +# Test suite for GNU tar. +# Copyright (C) 2006 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 +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. + +# Version 1.15.92 sent verbose output to the archive when invoked +# as tar cvf - foo.txt > foo.tar +# Reported by Mike Frysinger <vapier@gentoo.org> +# References: <200610131946.20530.vapier@gentoo.org> + +AT_SETUP([tar cvf -]) +AT_KEYWORDS([stdout verbose]) + +AT_TAR_CHECK([ +genfile --file file --length 10240 +echo Creating the archive +tar cvf - file > archive +echo Testing the archive +tar tf archive +], +[0], +[Creating the archive +Testing the archive +file +], +[file +]) + +AT_CLEANUP |