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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ***"

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux