diff --git a/testsuite/expect/test23.2 b/testsuite/expect/test23.2
index cd3a2939235755b8726af51c3b9d863f165cfe7c..aa73aeeb6c637fa9a1a12e2cc23a131d9850db96 100755
--- a/testsuite/expect/test23.2
+++ b/testsuite/expect/test23.2
@@ -194,7 +194,7 @@ $srun sleep 10
 # Spawn a job via srun using this account
 #
 set job_id3 0
-spawn $sbatch -N1 -t1 -v --account=$test_acct $file_in1
+spawn $sbatch -N1 -t1 -v --account=$test_acct --output=/dev/null $file_in1
 expect {
 	-re "Submitted batch job ($number)" {
 		set job_id3 $expect_out(1,string)