Unbreak test compilation

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Convert tests (quick & dirty) to ATF
Prepare layout for atf-sh
Add first shell test
Add more pkg version tests
Add a test case for pkg -v

Conflicts:
	tests/frontend/pkg.sh
Add the forgotten Makefile for tests
Add very minimal and not very good test case for pkg-search.  We need
a whole bunch of dummy packages, repos etc. to write the tests
properly.
Fix the more egregious errors in the file.
No more need for the LD_LIBRARY_PATH hack when calling the binary
Revert "No more need for the LD_LIBRARY_PATH hack when calling the binary"

This reverts commit 930b2b7971e0199552df1afd577d044060c50822, using $ORIGIN is
evil :)

Discussed with:	kib
Enable pkg field tests
Rename pkg_value -> pkg_str
Add more pkg field tests
Fix pkg-search test as -Q and -S are only on master
Merge branch 'merge-atf' into release-1.0

This is not fully working yet. It needs more isolation from
the host system to avoid seeing newer databases from master.

* merge-atf:
  Fix pkg-search test as -Q and -S are only on master
  Add more pkg field tests
  Rename pkg_value -> pkg_str
  Enable pkg field tests
  Revert "No more need for the LD_LIBRARY_PATH hack when calling the binary"
  No more need for the LD_LIBRARY_PATH hack when calling the binary
  Fix the more egregious errors in the file.
  Add very minimal and not very good test case for pkg-search.  We need a whole bunch of dummy packages, repos etc. to write the tests properly.
  Add the forgotten Makefile for tests
  Add a test case for pkg -v
  Add more pkg version tests
  Add first shell test
  Prepare layout for atf-sh
  Convert tests (quick & dirty) to ATF
  Unbreak test compilation