summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-03-08 18:21:54 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-03-08 18:21:54 +0000
commitc66e95f41fcbf53c0f9e29e0f54ed2ae9747ca6b (patch)
treef3420d8f5320a909a02c94488511f76be8a173b2
parent4e96bd913115bc9571e1e5c9f5e181c7321a737d (diff)
downloadcoreutils-c66e95f41fcbf53c0f9e29e0f54ed2ae9747ca6b.tar.xz
iflags->iflag. This fixes a typo that meant the
noatime test never tested anything.
-rw-r--r--ChangeLog7
-rwxr-xr-xtests/dd/misc6
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 582588c99..9b4944115 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
-2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
+2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
* Version 6.0-cvs.
+ * tests/dd/misc: iflags->iflag. This fixes a typo that meant the
+ noatime test never tested anything.
+
+2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
+
* src/dd.c (flags, usage): New flags directory, nolinks.
* src/system.h (O_NOLINKS): Define to 0 if not already defined.
diff --git a/tests/dd/misc b/tests/dd/misc
index 51f36d29d..5305c4938 100755
--- a/tests/dd/misc
+++ b/tests/dd/misc
@@ -1,6 +1,6 @@
#!/bin/sh
# Ensure dd treats `--' properly.
-# Also ensure that iflags=noatime works.
+# Also ensure that iflag=noatime works.
tmp_in=dd-in.$$
tmp_out=dd-out.$$
@@ -26,10 +26,10 @@ cmp $tmp_in $tmp_out || fail=1
old_ls=`ls -u --full-time $tmp_in`
sleep 1
-if dd iflags=noatime if=$tmp_in of=$tmp_out > /dev/null 2>&1; then
+if dd iflag=noatime if=$tmp_in of=$tmp_out > /dev/null 2>&1; then
new_ls=`ls -u --full-time $tmp_in`
if test "x$old_ls" != "x$new_ls"; then
- echo "dd iflags=noatime updated atime; O_NOATIME bug in your kernel?" >&2
+ echo "dd iflag=noatime updated atime; O_NOATIME bug in your kernel?" >&2
fail=1
fi
fi