diff options
author | Kai Kang <kai.kang@windriver.com> | 2018-11-27 03:09:37 -0500 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-02-04 21:14:11 -0800 |
commit | 0fffb955a7df9e1cfb5b9818551ea1e05e3fc5e6 (patch) | |
tree | dd6d53e094c53f361f2f296c5ba2a3e1dfa3341a /meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest | |
parent | 8c56922ea5a1aad0ddbdfdc2fa839337d9f83511 (diff) | |
download | meta-openembedded-contrib-0fffb955a7df9e1cfb5b9818551ea1e05e3fc5e6.tar.gz |
net-snmp: inherit ptest
Inherit ptest for net-snmp to create ${PN}-ptest. Update run-ptest as
well to avoid only could be run in the same directory.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest')
-rwxr-xr-x | meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest b/meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest index 2334217bc0..76514c202e 100755 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/run-ptest @@ -1,4 +1,5 @@ #!/bin/sh -cd testing +workdir=$(dirname `realpath $0`) +cd ${workdir}/testing ./RUNTESTS |