From 3f9256d1845af7e7119654f5febc099df5b57984 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 7 Jan 2013 15:13:46 -0800 Subject: [PATCH] Make run-prelink-addr-test.sh robust in its use of ln. Signed-off-by: Roland McGrath --- tests/ChangeLog | 4 ++++ tests/run-prelink-addr-test.sh | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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 <