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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Jul 2013 12:09:04 +0000 (13:09 +0100)
commit85ea593c20c9f7615d36e3a34d17016b4ec59fa4
treed0d415fcb1acdeb58313d8237a8370468f98301b
parentc4e71535c7af8131a85e63e68d5bc43b5d3ef870
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]

(From OE-Core rev: d53c9e6942a65f2ae5eb8f33012453c356fd6ff4)

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