123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #! /bin/sh
- am_create_testdir=empty
- . test-init.sh
- plan_ 10
- chk ()
- {
- if test -f /bin/rm; then
- command_ok_ "/bin/rm $*" /bin/rm "$@"
- else
- skip_ -r "/bin/rm not found"
- fi
- command_ok_ "rm $*" rm "$@"
- }
- chk -f
- chk -rf
- chk -fr
- chk -f -r
- chk -r -f
- :
|