diff --git a/gas/testsuite/gas/hppa/more.parse/parse.exp b/gas/testsuite/gas/hppa/more.parse/parse.exp
index a546bebe5f3..95b2864ae4a 100755
--- a/gas/testsuite/gas/hppa/more.parse/parse.exp
+++ b/gas/testsuite/gas/hppa/more.parse/parse.exp
@@ -176,10 +176,10 @@ if [istarget hppa*-*-*] then {
 
     # GAS can't handle upper bound for a PA .block[z] directive
     setup_xfail hppa*-*-*
-    gas_test "block.s" "" "" "Check min/max values for .block"
+    gas_test "block1.s" "" "" "Check min/max values for .block"
 
     # Now check for an invalid argument
-    gas_test_error "block2" "" "Check for error on bogus argument to .block"
+    gas_test_error "block2.s" "" "Check for error on bogus argument to .block"
 
     # GAS-1.36 choked on this file.
     # FIXME.  Should check relocations made for this test!
diff --git a/gas/testsuite/gas/hppa/parse/parse.exp b/gas/testsuite/gas/hppa/parse/parse.exp
index a546bebe5f3..95b2864ae4a 100755
--- a/gas/testsuite/gas/hppa/parse/parse.exp
+++ b/gas/testsuite/gas/hppa/parse/parse.exp
@@ -176,10 +176,10 @@ if [istarget hppa*-*-*] then {
 
     # GAS can't handle upper bound for a PA .block[z] directive
     setup_xfail hppa*-*-*
-    gas_test "block.s" "" "" "Check min/max values for .block"
+    gas_test "block1.s" "" "" "Check min/max values for .block"
 
     # Now check for an invalid argument
-    gas_test_error "block2" "" "Check for error on bogus argument to .block"
+    gas_test_error "block2.s" "" "Check for error on bogus argument to .block"
 
     # GAS-1.36 choked on this file.
     # FIXME.  Should check relocations made for this test!