xfs
[Top] [All Lists]

[PATCH 1/5] xfstests: Use libtool to install lstat64

To: Rich Johnston <rjohnston@xxxxxxx>
Subject: [PATCH 1/5] xfstests: Use libtool to install lstat64
From: Rich Johnston <rjohnston@xxxxxxx>
Date: Tue, 28 Aug 2012 12:26:06 -0500
Cc: <xfs@xxxxxxxxxxx>
References: <20120828172605.607853317@xxxxxxx>
User-agent: quilt/0.47-15.17.1
Use libtool to install lstat64 on $SCRATCH_MNT instead of cp.  Libtool will
install the binary from the proper location and display a warning if any
shared library dependancies are not properly installed.  This ensures that a
libtool wrapper shell script is not installed in place of lstat64 when libtool
wrappers are being used. 

Signed-off-by: Rich Johnston <rjohnston@xxxxxxx>

---
 120 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/120
===================================================================
--- a/120
+++ b/120
@@ -68,7 +68,7 @@ fi
 
 #executable file
 echo "*** copying file ***"
-cp src/lstat64 $SCRATCH_MNT
+libtool --mode=install install src/lstat64 $SCRATCH_MNT/lstat64
 src/lstat64 $SCRATCH_MNT/lstat64 >$tmp.out
 sleep 5
 echo "*** executing file ***"

<Prev in Thread] Current Thread [Next in Thread>