--- t/2.t;1	Wed Feb 23 19:55:17 2005
+++ t/2.t	Wed Feb 23 19:59:50 2005
@@ -56,7 +56,13 @@
 my %non_fab = VMS::Stat::get_fab( $non_existant_filespec );
 print + ( ! defined( $non_fab{'alq'} ) ) ? "ok $t\n" : "not ok $t # basic get_fab($non_existant_filespec) call\n";
 ++$t;
-print + ( $^E eq '%RMS-E-ACC, ACP file access failed' ) ? "ok $t\n" : "not ok $t # $^E after get_fab($non_existant_filespec) call\n";
+# The ACC message IDENT was seen on VMS 7.3-2
+# The SYN message IDENT was reported on 7.1-1
+# The regular expression could match either and is admittedly redundant, but
+# should catch any others
+print + ( $^E eq '%RMS-E-ACC, ACP file access failed' ||
+          $^E eq '%RMS-F-SYN, file specification syntax error' ||
+          $^E =~ m/^\%RMS\-[WEF]\-\w+, / ) ? "ok $t\n" : "not ok $t # $^E after get_fab($non_existant_filespec) call\n";
 
 
 # Comparisons to f$file_attributes() DCL results:
