diff --git a/testsuite/expect/test1.71 b/testsuite/expect/test1.71
index 9bfa0c8303e24f822e235b166d8a89a9422b6da5..ab43c3dc04d54bd96af08dd3ab9369cf49e9b02e 100755
--- a/testsuite/expect/test1.71
+++ b/testsuite/expect/test1.71
@@ -1,9 +1,7 @@
 #!/usr/bin/expect
 ############################################################################
 # Purpose: Test of SLURM functionality
-#          validates that srun exit code matches that of a
-#          test program
-#
+#          validates that srun exit code matches that of a test program
 #
 # Output:  "TEST: #.#" followed by "SUCCESS" if test was successful, OR
 #          "FAILURE: ..." otherwise with an explanation of the failure, OR
@@ -55,7 +53,9 @@ int main(char **argv, int argc)
 exec $bin_cc -std=c99 -o $file_out $file_c
 exec $bin_chmod 700 $file_out
 
+# Set core size ulimit to zero
 make_bash_script $script "
+ulimit -c 0
 ./$file_out
 echo exit_code = $?
 "