SOURCES: elfutils-kill-native.patch (NEW) - don't leave './native'...

qboosh qboosh at pld-linux.org
Fri Aug 25 22:53:07 CEST 2006


Author: qboosh                       Date: Fri Aug 25 20:53:07 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't leave './native' process running after build

---- Files affected:
SOURCES:
   elfutils-kill-native.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/elfutils-kill-native.patch
diff -u /dev/null SOURCES/elfutils-kill-native.patch:1.1
--- /dev/null	Fri Aug 25 22:53:07 2006
+++ SOURCES/elfutils-kill-native.patch	Fri Aug 25 22:53:02 2006
@@ -0,0 +1,11 @@
+--- elfutils-0.123/tests/run-native-test.sh.orig	2006-04-13 17:04:57.000000000 +0200
++++ elfutils-0.123/tests/run-native-test.sh	2006-08-25 22:55:40.053239000 +0200
+@@ -58,7 +58,7 @@
+ for cc in "$HOSTCC" "$HOST_CC" cc gcc "$CC"; do
+   test "x$cc" != x || continue
+   $cc -o native -g native.c > /dev/null 2>&1 &&
+-  ./native > /dev/null 2>&1 & native=$! &&
++  { ./native > /dev/null 2>&1 & } && native=$! &&
+   sleep 1 && kill -0 $native 2> /dev/null &&
+   break ||
+   native=0
================================================================


More information about the pld-cvs-commit mailing list