diff options
| -rw-r--r-- | meta/recipes-extended/ltp/ltp/0038-run-posix-option-group-test-replace-CWD-qith-PWD.patch | 44 | ||||
| -rw-r--r-- | meta/recipes-extended/ltp/ltp_20160126.bb | 1 |
2 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0038-run-posix-option-group-test-replace-CWD-qith-PWD.patch b/meta/recipes-extended/ltp/ltp/0038-run-posix-option-group-test-replace-CWD-qith-PWD.patch new file mode 100644 index 0000000000..8034152fd7 --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/0038-run-posix-option-group-test-replace-CWD-qith-PWD.patch | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | From f356775c400f40e3803d80a7bd295b4265959c45 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Vineet Gupta <Vineet.Gupta1@synopsys.com> | ||
| 3 | Date: Mon, 29 Feb 2016 14:34:40 +0530 | ||
| 4 | Subject: [PATCH] run-posix-option-group-test: replace CWD qith PWD | ||
| 5 | |||
| 6 | When running LTP Open Posix Testsuite there is lot of messages as: | ||
| 7 | |||
| 8 | | Usage: basename FILE [SUFFIX] | ||
| 9 | | | ||
| 10 | | Strip directory path and .SUFFIX from FILE | ||
| 11 | | | ||
| 12 | | ******************* | ||
| 13 | | Testing | ||
| 14 | | ******************* | ||
| 15 | |||
| 16 | This is because there is no $CWD defined in shell and it looks like $PWD | ||
| 17 | was intended instead. | ||
| 18 | |||
| 19 | Signed-off-by: Vineet Gupta <vgupta@synopsys.com> | ||
| 20 | Signed-off-by: Cyril Hrubis <chrubis@suse.cz> | ||
| 21 | |||
| 22 | Upstream-Status: Backport | ||
| 23 | |||
| 24 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
| 25 | --- | ||
| 26 | testcases/open_posix_testsuite/bin/run-tests.sh | 2 +- | ||
| 27 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 28 | |||
| 29 | diff --git a/testcases/open_posix_testsuite/bin/run-tests.sh b/testcases/open_posix_testsuite/bin/run-tests.sh | ||
| 30 | index d4bd988..5ee5687 100755 | ||
| 31 | --- a/testcases/open_posix_testsuite/bin/run-tests.sh | ||
| 32 | +++ b/testcases/open_posix_testsuite/bin/run-tests.sh | ||
| 33 | @@ -29,7 +29,7 @@ run_test_loop() { | ||
| 34 | |||
| 35 | cat <<EOF | ||
| 36 | ******************* | ||
| 37 | -Testing $(basename $CWD) | ||
| 38 | +Testing $(basename $PWD) | ||
| 39 | ******************* | ||
| 40 | $(printf "PASS\t\t%3d" $NUM_PASS) | ||
| 41 | $(printf "FAIL\t\t%3d" $NUM_FAIL) | ||
| 42 | -- | ||
| 43 | 2.7.4 | ||
| 44 | |||
diff --git a/meta/recipes-extended/ltp/ltp_20160126.bb b/meta/recipes-extended/ltp/ltp_20160126.bb index 841302b0ad..6e2ceac0e2 100644 --- a/meta/recipes-extended/ltp/ltp_20160126.bb +++ b/meta/recipes-extended/ltp/ltp_20160126.bb | |||
| @@ -64,6 +64,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \ | |||
| 64 | file://0035-fix-test_proc_kill-hang.patch \ | 64 | file://0035-fix-test_proc_kill-hang.patch \ |
| 65 | file://0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch \ | 65 | file://0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch \ |
| 66 | file://0037-containers-netns_netlink-Avoid-segmentation-fault.patch \ | 66 | file://0037-containers-netns_netlink-Avoid-segmentation-fault.patch \ |
| 67 | file://0038-run-posix-option-group-test-replace-CWD-qith-PWD.patch \ | ||
| 67 | " | 68 | " |
| 68 | 69 | ||
| 69 | S = "${WORKDIR}/git" | 70 | S = "${WORKDIR}/git" |
