diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-19 04:14:19 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-19 04:14:19 +0000 |
commit | 7a1f88acf2a2aec3c61c878c837070234df78c08 (patch) | |
tree | 485cfc375c130032db0ec90498fab522950a0307 /t/op/mkdir.t | |
parent | 0bcd2fea6bc6ecdf03a0c2410ba83be70e2072dc (diff) | |
download | perl-7a1f88acf2a2aec3c61c878c837070234df78c08.tar.gz |
some fixes for mingw32/GCC (SETERRNO() still appears to
trash memory)
p4raw-id: //depot/perl@5129
Diffstat (limited to 't/op/mkdir.t')
-rwxr-xr-x | t/op/mkdir.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/op/mkdir.t b/t/op/mkdir.t index 4bd1b21c80..e9460239b2 100755 --- a/t/op/mkdir.t +++ b/t/op/mkdir.t @@ -19,8 +19,8 @@ $ENV{LANGUAGE} = 'C'; # GNU locale extension print (mkdir('blurfl',0777) ? "ok 1\n" : "not ok 1\n"); print (mkdir('blurfl',0777) ? "not ok 2\n" : "ok 2\n"); -print ($! =~ /exist|denied/ ? "ok 3\n" : "# $!\nnot ok 3\n"); +print ($! =~ /cannot move|exist|denied/ ? "ok 3\n" : "# $!\nnot ok 3\n"); print (-d 'blurfl' ? "ok 4\n" : "not ok 4\n"); print (rmdir('blurfl') ? "ok 5\n" : "not ok 5\n"); print (rmdir('blurfl') ? "not ok 6\n" : "ok 6\n"); -print ($! =~ /such|exist|not found/i ? "ok 7\n" : "not ok 7\n"); +print ($! =~ /cannot find|such|exist|not found/i ? "ok 7\n" : "# $!\nnot ok 7\n"); |