Bump internal version number
[safe-rm.git] / TESTING
blobe907413a4b96e96bb5b0259d3d1c8f01e97cfa5b
1 Manual test suite before a release
3 - remove only /etc/safe-rm.conf and try to delete a missing file
4 - remove /etc/safe-rm.conf and ~/.safe-rm and try to delete a missing file
5 - remove /etc/safe-rm.conf and ~/.safe-rm and try to delete /usr/lib (should fail)
6 - remove only ~/.safe-rm and try to delete a missing file
8 - remove a missing file and make sure the return value is nonzero
9 - touch a file and delete it
10 - attempt to delete (as a normal user) /usr/lib (which is in /etc/safe-rm.conf)
11 - attempt to delete a directory which is in ~/.safe-rm without using "-r"
13 - delete the root directory (/)
14 - delete a protected path in the current directory using the absolute name
15 - delete a protected path in the current directory using just the relative filename
16 - delete a protected path in the current directory using the filename prefixed by ./
17 - delete a protected path in the current directory using ../dir/filename
19 - run "safe-rm --help" and make sure it returns the rm usage
21 - put /home/* in ~/.safe-rm and run "rm /home/*"
22 - put several files in as arguments, one of which should be skipped, check that the other ones are deleted
24 - symlink /usr/lib into the current directory and delete the symlink (it should work)
26 - run "man safe-rm" and skim the manual for obvious mistakes