summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaresh Kamboju <naresh.kamboju@linaro.org>2017-03-22 16:11:29 +0530
committerNaresh Kamboju <naresh.kamboju@linaro.org>2017-03-22 16:18:32 +0530
commited69cdaedaffee87ca8ec76859cdd8e8ce15c3c0 (patch)
tree79b858f00bdac29c6c5b01f6e2cf64bfde20e391
parentf9fbcba7a2baaf8eaa2758838134261a2f3770f0 (diff)
libhugetlbfs: version not required on pre-built tests
When libhugetlbfs test suite pre-built and pre-installed on images like Open Embedded, versioning is not required in this case. Change-Id: I4faf4d8ee8d1af198be92b21c767a05440ed4bcb Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-xautomated/linux/libhugetlbfs/libhugetlbfs.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/automated/linux/libhugetlbfs/libhugetlbfs.sh b/automated/linux/libhugetlbfs/libhugetlbfs.sh
index e8f57f3..35027cd 100755
--- a/automated/linux/libhugetlbfs/libhugetlbfs.sh
+++ b/automated/linux/libhugetlbfs/libhugetlbfs.sh
@@ -145,11 +145,11 @@ install
# Setup libhugetlbfs mount point
libhugetlbfs_setup
-if [ -d /usr/lib/libhugetlbfs-"${VERSION}" ]
+if [ -d /usr/lib/libhugetlbfs ]
then
- echo "pre built /usr/lib/libhugetlbfs-${VERSION} found on rootfs"
+ echo "pre built /usr/lib/libhugetlbfs found on rootfs"
# shellcheck disable=SC2164
- cd /usr/lib/libhugetlbfs-"${VERSION}"
+ cd /usr/lib/libhugetlbfs
else
# Build libhugetlbfs tests
libhugetlbfs_build_test