From: Roland McGrath Date: Mon, 7 Jan 2013 23:13:46 +0000 (-0800) Subject: Make run-prelink-addr-test.sh robust in its use of ln. X-Git-Tag: elfutils-0.156~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f9256d1845af7e7119654f5febc099df5b57984;p=thirdparty%2Felfutils.git Make run-prelink-addr-test.sh robust in its use of ln. Signed-off-by: Roland McGrath --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 0289148b3..21569ebc8 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2013-01-07 Roland McGrath + + * run-prelink-addr-test.sh: Use ln -snf. + 2012-12-03 Mark Wielaard * Makefile.am (valgrind_cmd): Add --run-libc-freeres=no. diff --git a/tests/run-prelink-addr-test.sh b/tests/run-prelink-addr-test.sh index 52bb28412..588261f9f 100755 --- a/tests/run-prelink-addr-test.sh +++ b/tests/run-prelink-addr-test.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2011 Red Hat, Inc. +# Copyright (C) 2011-2013 Red Hat, Inc. # This file is part of elfutils. # # This file is free software; you can redistribute it and/or modify @@ -33,7 +33,7 @@ testfiles testfile52-32.so testfile52-32.so.debug testfiles testfile52-32.prelink.so testfile52-32.noshdrs.so tempfiles testmaps52-32 testfile52-32.noshdrs.so.debug -ln -s testfile52-32.so.debug testfile52-32.noshdrs.so.debug +ln -snf testfile52-32.so.debug testfile52-32.noshdrs.so.debug cat > testmaps52-32 < testmaps52-64 <