Fixed the bug of multiple '=' in the string.

The strtok() in parseString() eats multiple '='. Use pointer to parse
directly.

Also fixed error in tests/functions.sh.

BUG=chrome-os-partner:27915
TEST=in chroot, run "make test" in vpd directory.

Change-Id: I52bcf8ffd29910fc7a5dcb85d0d82e7bfb445c89
Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/194084
6 files changed
tree: 7721d4ba9fda4448e3ed945ddb8c9d1a194aaaf7
  1. include/
  2. init/
  3. lib/
  4. tests/
  5. util/
  6. LICENSE
  7. Makefile
  8. OWNERS
  9. README
  10. vpd.c