]> code.ossystems Code Review - openembedded-core.git/commit
LSB_Test.sh: add -f option for curl
authorYi Zhao <yi.zhao@windriver.com>
Wed, 24 Jul 2013 02:00:38 +0000 (10:00 +0800)
committerSaul Wold <sgw@linux.intel.com>
Sun, 28 Jul 2013 06:28:25 +0000 (23:28 -0700)
commitd53c9e6942a65f2ae5eb8f33012453c356fd6ff4
tree8d3a4a2605d21cb8376dd51e375e07435e015d6f
parentc6a503f05505cd5d842ae1c1b558be04e233072c
LSB_Test.sh: add -f option for curl

In normal cases when a HTTP server fails to deliver a file, it returns
an HTML document to describe the reason (e.g. 404 Not Found). The curl
will output this page as a file and do not return error. Add a "-f"
option will prevent curl from outputting that and return error.

[YOCTO #4895]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/lsb/lsbtest/LSB_Test.sh