Attempt to make the search.sh tests more self contained.  Previously
it would try and contact one of the default pkg repos, but we can't
assume that any build environment will have network access.
Eg. Jenkins certainly doesn't.
Merge branch 'master' into testing

Conflicts:
	tests/frontend/search.sh

Update this branches' additional testing-fu to incorporate the new
'-R' flag