test/: Add test case for "-S" (pattern search)

* search-001.sh: Compare the output of "-S <regex>" (using a regular
  expression) with hardcoded data.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2012-01-22 16:55:43 +01:00
parent cb69a4c087
commit dfc98b5fa1
2 changed files with 27 additions and 1 deletions

View File

@@ -14,7 +14,8 @@ TESTS = \
range-002.sh \
range-003.sh \
appointment-001.sh \
next-001.sh
next-001.sh \
search-001.sh
check_PROGRAMS = run-test
check_SCRIPTS = $(TESTS)