rpms/coreutils/F-8 coreutils-mvatomic.patch,1.1,1.2

Ondrej Vasik (ovasik) fedora-extras-commits at redhat.com
Tue Mar 25 18:17:42 UTC 2008


Author: ovasik

Update of /cvs/extras/rpms/coreutils/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5774

Modified Files:
	coreutils-mvatomic.patch 
Log Message:
fixed harmless warning in atomic2 test

coreutils-mvatomic.patch:

Index: coreutils-mvatomic.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/F-8/coreutils-mvatomic.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- coreutils-mvatomic.patch	25 Mar 2008 17:54:57 -0000	1.1
+++ coreutils-mvatomic.patch	25 Mar 2008 18:17:34 -0000	1.2
@@ -1,7 +1,7 @@
  src/copy.c           |    5 +++--
  tests/mv/Makefile.am |    4 ++--
- tests/mv/atomic2     |   63 ++++++++++++++++++++++++++++++++++++++++++++++++++
- 3 files changed, 68 insertions(+), 4 deletions(-)
+ tests/mv/atomic2     |   64 ++++++++++++++++++++++++++++++++++++++++++++++++++
+ 3 files changed, 69 insertions(+), 4 deletions(-)
  create mode 100755 tests/mv/atomic2
 
 diff --git a/src/copy.c b/src/copy.c
@@ -48,7 +48,7 @@
 index 0000000..d1029aa
 --- /dev/null
 +++ b/tests/mv/atomic2
-@@ -0,0 +1,63 @@
+@@ -0,0 +1,64 @@
 +#!/bin/sh
 +# ensure that mv doesn't first unlink a multi-hard-linked destination
 +
@@ -85,6 +85,7 @@
 +#   $ rm -f a b b2; touch a b; ln b b2; strace -e unlink ./mv a b
 +#   $
 +
++framework_failure=0
 +touch a b || framework_failure=1
 +ln b b2 || framework_failure=1
 +if test $framework_failure = 1; then




More information about the fedora-extras-commits mailing list