diff options
author | Roland McGrath <roland@hack.frob.com> | 2013-01-07 15:13:46 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2013-01-07 15:13:46 -0800 |
commit | 3f9256d1845af7e7119654f5febc099df5b57984 (patch) | |
tree | 1e458f52e87c2c61cf2a53ef8b6d2d432aceef14 /tests | |
parent | 3999ce14663c26bcddc2cf4d4bb9b61c7ad29ac3 (diff) | |
download | elfutils-3f9256d1845af7e7119654f5febc099df5b57984.tar.gz |
Make run-prelink-addr-test.sh robust in its use of ln.
Signed-off-by: Roland McGrath <roland@hack.frob.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 4 | ||||
-rwxr-xr-x | tests/run-prelink-addr-test.sh | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 0289148b..21569ebc 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2013-01-07 Roland McGrath <roland@hack.frob.com> + + * run-prelink-addr-test.sh: Use ln -snf. + 2012-12-03 Mark Wielaard <mjw@redhat.com> * 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 52bb2841..588261f9 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 <<EOF 00111000-00112000 r-xp 00000000 fd:01 1 `pwd`/testfile52-32.so @@ -62,7 +62,7 @@ EOF testfiles testfile52-64.so testfile52-64.so.debug testfiles testfile52-64.prelink.so testfile52-64.noshdrs.so tempfiles testmaps52-64 testfile52-64.noshdrs.so.debug -ln -s testfile52-64.so.debug testfile52-64.noshdrs.so.debug +ln -snf testfile52-64.so.debug testfile52-64.noshdrs.so.debug cat > testmaps52-64 <<EOF 1000000000-1000001000 r-xp 00000000 fd:11 1 `pwd`/testfile52-64.so |