rpms/coreutils/F-7 coreutils-mvatomic.patch,1.1,1.2
Ondrej Vasik (ovasik)
fedora-extras-commits at redhat.com
Tue Mar 25 18:19:03 UTC 2008
Author: ovasik
Update of /cvs/extras/rpms/coreutils/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5832
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-7/coreutils-mvatomic.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- coreutils-mvatomic.patch 25 Mar 2008 18:03:37 -0000 1.1
+++ coreutils-mvatomic.patch 25 Mar 2008 18:18:51 -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