Change mknod test to use Unix::Mknod and POSIX::mkfifo().
authorDerrik Pates <demon@now.ai>
Sun, 31 Jul 2011 03:48:57 +0000 (21:48 -0600)
committerDerrik Pates <demon@now.ai>
Sun, 31 Jul 2011 03:48:57 +0000 (21:48 -0600)
commit331d8f488b00b0d815cf369dc0bbe4011d882e83
tree9ad89928ae65041f500492626b7f01193fc70375
parent4fa41308f9d76c77e950c2191afd042aece368aa
Change mknod test to use Unix::Mknod and POSIX::mkfifo().

Instead of using system() to call executables (and depend on mknod
and mkfifo command syntax), use Unix::Mknod's mknod() function
and POSIX's mkfifo() function to make device and named pipe nodes,
and use Unix::Mknod's makedev() to combine major/minor numbers
appropriately instead of depending on knowing (or guessing)
the shift distance for the device major number.
test/mknod.t