system "no_such_file" returns a different error on Fedoraby amir_e_a (Hermit)
|on Jul 03, 2008 at 08:42 UTC||Need Help??|
amir_e_a has asked for the wisdom of the Perl Monks concerning the following question:
It's probably more of an OS question than a Perl question, but i'll try anyway.
It looks like different Unix flavors produce different errors when trying to run system "no_such_file"
I am trying to build Perl ( rsync://public.activestate.com/perl-current/ ) on Fedora 8, 184.108.40.206-92.fc8.
The test t/op/exec.t is failing on line 97. Apparently, running the following code:
... on Fedora sets $! to "Not a directory". Perl 5.8 on Ubuntu and Perl 5.10 on Cygwin both set $! to "No such file or directory", which would make the test pass.
Is it the expected behavior on Fedora?