test/shell: Add failure tests for `system()`.