~mhr3/unity-lens-applications/fix-842108

« back to all changes in this revision

Viewing changes to tests/test-full-and-partial.sh

  • Committer: Michal Hruby
  • Date: 2012-04-26 07:03:41 UTC
  • Revision ID: michal.mhr@gmail.com-20120426070341-qwslgu0h9jbk07q3
Don't remove exact matches from list of suggestions

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# Search for "ls", print the results, this search should only include both
 
4
# "ls", not "ls.+"
 
5
test `unity-tool -n com.canonical.Unity.Lens.Applications -p /com/canonical/unity/lens/commands -s "ls" --no-search-reply -r | grep "\\<ls\\>" | wc -l` -eq 1 || exit 1
 
6
test `unity-tool -n com.canonical.Unity.Lens.Applications -p /com/canonical/unity/lens/commands -s "ls" --no-search-reply -r | grep "\\<ls" | wc -l` -ge 2 || exit 1
 
7