Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git] / tests / type.tests
index d47ae64..1c03e01 100644 (file)
@@ -80,3 +80,18 @@ type -t $SHBASE
 
 # make sure the hash table looks right
 hash
+
+# bug in versions of bash up to and including bash-3.2
+f() {
+        v=$'\001'
+    }
+
+type f | cat -v
+
+${THIS_SH} type1.sub
+
+${THIS_SH} type2.sub
+
+${THIS_SH} type3.sub
+
+${THIS_SH} type4.sub