tests: Fix crash when getstarg() fails
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 9 Jan 2015 15:19:13 +0000 (16:19 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 2 Mar 2015 07:20:48 +0000 (08:20 +0100)
commit57fd96a7cf05bcca21ac54a4f9d3926ea986355b
treedafbc7665fcda5ea9316cd815761e5f4dd9ca573
parentb72f727b9bef3422a45c36998e77c3dedb95e70c
tests: Fix crash when getstarg() fails

Screwed up when test-suite-only command __cmd was added in commit
e852d45.  Should never happen with the intended use.  Fix it anyway.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/testing.c