Medusa Smoke Tests

The Medusa Smoke Tests are a minimal set of tests , to determine whether a build is usable for testing, and to catch obvious regressions.
 
 
 

Command Line (msearch)

Before beginning this section, index your home folder with the command, "medusa-indexd /home/username". You have to be the root user in order to do this. In order to become a root user from a terminal, type the command, "su". You will be prompted for your root password. Enter it.

After medusa-indexd is done running, start medusa-searchd, you must be root to run the Medusa serach daemon.

You do not have to be root to run msearch.
 
 
 

Test # Test Test Steps Expected Results
C-1 Search for file by name 1. Search for a known file on your computer with the syntax, msearch "search:[file:///]file_name is <string>". Results should be returned.
C-2 Search for directory 1. Search for a known directory on your computer with the syntax, msearch "search:[file:///]directory_name is <string>". Results should be returned.
C-3 Search for file type 1. Search for a file type on your computer that you know you have. Use the syntax, msearch "search:[file:///]file_type is <string>".

In this case, string is one of application, music, text_file, file, or directory.

Results should be returned.
C-4 Search by modification date 1. Search for file on your computer by modification date. Use the syntax, msearch "search:[file:///]modified is <date>"

The format of "date" is MM/DD/YYYY

Results should be returned.
C-5 Search by owner 1. Search for a file on your computer by it's owner. Use the syntax, msearch "search:[file:///]owner is <name>".

Name equals a user on your computer. 

Results should be returned.
C-6 Search by group 1. Search for a file on your computer by it's group. Use the syntax, msearch "search:[file:///]group is <name>".

Name equals a group on your computer.

Results should be returned.
C-7 Search by size 1. Search for a file on your computer by it's size. Use the syntax, msearch "search:[file:///]size larger_than <number>".

Number equals a number in bytes.

Results should be returned.
C-8 Search by permission to read 1. Search for a file on your computer by it's permission to read. Use the syntax, msearch "search:[file:///]permissions_to_read include_uid <UID>".

UID equals the uid of a user on your computer

Results should be returned.
C-9 Search by keyword 1. Using Nautilus, set an emblem for a file by right clicking on it, selecting properties, then clicking on the emblems tab.

2. Reindex your home folder.

3. Search for that file on your computer by it's keyword (or emblem). Use the syntax, msearch "search:[file:///]keywords include <keyword>".

Keyword, in this case, is one of OK, confidential, distinguished, draft, favorite, important, new, ohno, personal, or urgent.

Results should be returned.

 
 

Maintained by Josh Barrow for Nautilus Quality Engineering; feedback welcome.
Adaptation and reuse for other open source projects is freely permitted.
Last Updated: 9/29/2000