<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/dd/misc, branch v7.2</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v7.2</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2008-09-10T11:20:10Z</updated>
<entry>
<title>tests: use "Exit $fail", not (exit $fail); exit $fail</title>
<updated>2008-09-10T11:20:10Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-09-07T08:31:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=68561594ca022703e255b3ef5686f176317e5fd4'/>
<id>urn:sha1:68561594ca022703e255b3ef5686f176317e5fd4</id>
<content type='text'>
* tests/test-lib.sh (Exit): New function by Ralf Wildenhues in automake
http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=20594c08f63
* tests/**: Convert all uses:

This restrictive change converted the vast majority:

  git grep -l '^(exit \$fail); exit \$fail$' \
    | xargs perl -pi -e 's/'^\(exit \$fail\); exit \$fail$/Exit \$fail/'

And this did the rest, plus a few undesirable ones, so I manually
backed out the changes to ChangeLog-* and build-aux/check.mk:

  git grep -l -E '\(exit [^)]+\); exit ' \
    | xargs perl -pi -e 's/\(exit (.+?)\); exit \1/Exit $1/'
</content>
</entry>
<entry>
<title>set envvars via "env" to avoid spurious set -x output from bad shells</title>
<updated>2008-08-14T21:08:03Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-08-13T08:40:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a01c4720d6bd05798168654534c70a31a39e4828'/>
<id>urn:sha1:a01c4720d6bd05798168654534c70a31a39e4828</id>
<content type='text'>
* tests/dd/misc: Set LC_ALL=C via env.
* tests/cp/thru-dangling: Set POSIXLY_CORRECT via env.
This is necessary at least on AIX 5.3.
Reported by Jeph Cowan and Ralf Wildenhues.  Details here:
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/14235/focus=14257
</content>
</entry>
<entry>
<title>dd: minor fullblock changes</title>
<updated>2008-07-23T13:55:45Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-07-23T12:50:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e535754fdbe701e70f3ac9834b643a9272dc1d98'/>
<id>urn:sha1:e535754fdbe701e70f3ac9834b643a9272dc1d98</id>
<content type='text'>
* src/dd.c (O_FULLBLOCK): Define using an enum, not #define.
Derive the value, rather than hard-coding to one that might conflict.
(usage): Mention iflag=fullblock in --help output.
(scanargs): Reset the O_FULLBLOCK bit, so that we don't try to set
an undefined attribute via fcntl (fd, F_SETFL, ...
* tests/dd/misc: Signal framework_failure when necessary.
Use "compare actual expected", so any diffs look "right".
* NEWS (dd): Alphabetize and reword.
* coreutils.texi (dd invocation): Adjust wording.
</content>
</entry>
<entry>
<title>dd: new option: iflag=fullblock to accumulate full input blocks</title>
<updated>2008-07-23T13:55:45Z</updated>
<author>
<name>Kamil Dudka</name>
<email>kdudka@redhat.com</email>
</author>
<published>2008-07-23T09:29:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f674a10f7ebc55de6181007a5216a297e3dc3365'/>
<id>urn:sha1:f674a10f7ebc55de6181007a5216a297e3dc3365</id>
<content type='text'>
* src/dd.c (iread_fullblock): New function for reading full blocks.
(scanargs): Check for new parameter iflag=fullblock.
(skip): Use iread_fnc pointer instead of iread function.
(dd_copy): Use iread_fnc pointer instead of iread function.
* tests/dd/misc: Add test for dd - read full blocks.
* doc/coretuils.texi: Mention new parameter iflag=fullblock.
* NEWS: Mentioned the change.
</content>
</entry>
<entry>
<title>in 280+ tests/* files, use $srcdir, not $top_srcdir/tests</title>
<updated>2008-05-27T11:48:32Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-05-27T11:45:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=00a309823501317f9061a28e98cc13177bc4a12a'/>
<id>urn:sha1:00a309823501317f9061a28e98cc13177bc4a12a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revamp test-related Makefiles.</title>
<updated>2008-04-20T22:01:51Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-04-17T21:34:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=512e111a926fedbd7dc7b0875ab837dbb7d2a7a6'/>
<id>urn:sha1:512e111a926fedbd7dc7b0875ab837dbb7d2a7a6</id>
<content type='text'>
One side-effect of this change is that "make check" now works even if
you put "." early in your shell's search PATH (don't do that!).

Remove all test-related Makefile.am files, except those generated
by mk-script.  Instead, tests/Makefile.am now lists not only the
tests directly under tests/, but also those in tests/*/ that are
not generated by mk-script, e.g., cp/abuse, cp/acl, mv/i-1, etc.

A lot of these changes are like this:

-. $srcdir/../lang-default
+. $top_srcdir/tests/lang-default

-. $srcdir/../test-lib.sh
+. $top_srcdir/tests/test-lib.sh

* configure.ac (AC_CONFIG_FILES): Remove corresponding Makefiles.
* tests/check.mk (vc_exe_in_TESTS): Relax syntax requirements.
* tests/rwx-to-mode: Remove file.  Rewritten as...
* tests/test-lib.sh (rwx_to_mode_): ...this new function.
* tests/Makefile.am (EXTRA_DIST): Remove rwx-to-mode.
(SUBDIRS): Remove each dir with a removed Makefile.am.
(EXTRA_DIST): Add $(TESTS).
(TESTS): Add over 300 entries.
</content>
</entry>
<entry>
<title>dd bug fix: accept e.g., if=/dev/stdin and of=/dev/stdout</title>
<updated>2008-03-31T06:37:58Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2008-03-31T06:37:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e373bb193357481573913ccf28dc14675f172d5a'/>
<id>urn:sha1:e373bb193357481573913ccf28dc14675f172d5a</id>
<content type='text'>
* lib/fd-reopen.c: Work even if FILE is "/dev/stdin".
Problem reported by Geoffrey Lee in &lt;http://bugs.debian.org/290727&gt;.
* tests/dd/misc: Check for this bug.
</content>
</entry>
<entry>
<title>Require that "(exit $fail); exit $fail" be last line of each test.</title>
<updated>2008-03-28T13:21:28Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-03-28T13:14:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=17720c10cd73b71230f309137c437bf3aad7b6f5'/>
<id>urn:sha1:17720c10cd73b71230f309137c437bf3aad7b6f5</id>
<content type='text'>
* maint.mk (sc_require_test_exit_idiom): New rule to enforce policy.
* tests/cp/acl: Adhere to the new policy.
* tests/cp/preserve-gid: Likewise.
* tests/dd/misc:
* tests/install/create-leading:
* tests/ln/sf-1:
* tests/ls/symlink-slash:
* tests/misc/help-version:
* tests/misc/ls-time:
* tests/misc/nice:
* tests/misc/shred-remove:
* tests/misc/stty:
* tests/misc/stty-row-col:
* tests/mkdir/p-1:
* tests/mkdir/p-2:
* tests/mkdir/p-3:
* tests/mkdir/p-v:
* tests/mkdir/special-1:
* tests/mkdir/writable-under-readonly:
* tests/mv/acl:
* tests/mv/backup-is-src:
* tests/mv/diag:
* tests/mv/dir-file:
* tests/mv/force:
* tests/mv/hard-link-1:
* tests/mv/i-2:
* tests/mv/i-4:
* tests/mv/into-self:
* tests/mv/into-self-2:
* tests/mv/into-self-3:
* tests/mv/partition-perm:
* tests/mv/to-symlink:
* tests/rmdir/ignore:
* tests/tail-2/assert:
* tests/tail-2/assert-2:
* tests/touch/dangling-symlink:
* tests/touch/dir-1:
* tests/touch/empty-file:
* tests/touch/fifo:
* tests/touch/no-rights: Likewise.

Signed-off-by: Jim Meyering &lt;meyering@redhat.com&gt;
</content>
</entry>
<entry>
<title>More misc, test-related changes. (some to allow running tests as root)</title>
<updated>2007-09-15T06:40:39Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-09-12T12:52:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a669dfdabb3fa1be2e1367d53a797d495e7bd5c9'/>
<id>urn:sha1:a669dfdabb3fa1be2e1367d53a797d495e7bd5c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert tests/dd/*, too.</title>
<updated>2007-09-15T06:40:38Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2007-09-07T12:28:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ceb5b04614dfc6037c0a3ac6205b6b3c072bc4cb'/>
<id>urn:sha1:ceb5b04614dfc6037c0a3ac6205b6b3c072bc4cb</id>
<content type='text'>
</content>
</entry>
</feed>
