Always use genfile --file, this enables extra error checking.

This commit is contained in:
Sergey Poznyakoff
2006-05-02 19:16:12 +00:00
parent 53d1279719
commit c576ac1354
14 changed files with 50 additions and 50 deletions

View File

@@ -1,7 +1,7 @@
# Process this file with autom4te to create testsuite. -*- Autotest -*-
# Test suite for GNU tar.
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
# Copyright (C) 2004, 2005, 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
@@ -32,8 +32,8 @@ AT_KEYWORDS([pipe])
AT_TAR_CHECK([
mkdir directory
genfile --length 10240 --pattern zeros > directory/file1
genfile --length 13 > directory/file2
genfile --length 10240 --pattern zeros --file directory/file1
genfile --length 13 --file directory/file2
tar cf archive directory|sort 2>/dev/null
mv directory orig
cat archive | tar xfv - | sort 2>/dev/null