6 # this should echo nothing
8 # this should be a usage error
11 # these should behave identically
17 unset -f func 2>/dev/null
18 func() { echo this is func; }
28 # the following two should produce identical output
39 # the following two lines should produce the same output
40 # post-3.0 patch makes command -v silent, as posix specifies
41 # first test with alias expansion off (should all fail or produce no output)
48 # then test with alias expansion on
49 shopt -s expand_aliases
57 shopt -u expand_aliases
75 hash -p /tmp/$SHBASE $SHBASE
81 # make sure the hash table looks right
84 # bug in versions of bash up to and including bash-3.2