Use test -p to test for fifos, rather
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 19 Apr 2005 07:26:18 +0000 (07:26 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 19 Apr 2005 07:26:18 +0000 (07:26 +0000)
commita8f2520b15ab992378efc4250cd770f5ab0facf4
treeb0671b322a156118e83dbd4dd562f348941e92c9
parentf55ce3a2dc1e1ce01f9c3a3a5ab1b3dc877d540e
Use test -p to test for fifos, rather
than the (incorrect) test -f and the (inadequate) ls.  ls is
inadequate because on some hosts a buggy mv will create a file of
the wrong type (problem reported by Eric Blake).  Skip this test
if test -p doesn't work.
tests/mv/mv-special-1