Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
Lustre 2.1.0
-
None
-
5003
Description
Not sure if this is done by design or not, but when running the single node test from within the lustre source tree the installed binaries are used by default; not the binaries in the lustre tree.
For example, running sanity.sh will pick up /usr/bin/lfs and use that binary if it exists (or another lfs found in $PATH I would assume) instead of $LUSTRE/lustre/utils/lfs.
Personally, I find this a bit confusing and frustrating at times. Say, I am working on the lfs command. If I make a change, recompile and run sanity.sh; this new patched version will not be used if there is a version that is already installed. It takes manual intervention to get the test to use my patched version (i.e. running 'export LFS=$LUSTRE/lustre/utils/lfs').
Is this by design?