Wind River Support Network

HomeDefectsLIN6-11015
Fixed

LIN6-11015 : host contamination in ltp

Created: Mar 16, 2016    Updated: Dec 3, 2018
Resolved Date: Mar 17, 2016
Previous ID: OVP6-21
Found In Version: 6.0
Fix Version: 6.0.0.29
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

ltp/git/testcases/commands/unzip/Makefile:

# Only build and install if we have the zip command.
HAVE_ZIPTOOLS           := $(shell if which zip >/dev/null; then echo yes; else echo no; fi)


If the host has no "zip" installed, unzip test case is not built and installed, which leads to ltp run failed.

Workaround

install "zip' on host

Steps to Reproduce

1. configure a project with ltp on a build host without "zip" installed

2. build

3. /opt/ltp/wrLinux_ltp/wr-runltp -s unzip01

Other Downloads


Live chat
Online