diff --git a/testsuite/expect/test14.7 b/testsuite/expect/test14.7
index 4299069d0496e9e0a8e8186e285230933bbccaee..e385d78481ab7ad905847f7fcbfd751cdc88cf32 100755
--- a/testsuite/expect/test14.7
+++ b/testsuite/expect/test14.7
@@ -111,34 +111,22 @@ set matches 0
 if {[wait_for_file $file_err] == 0} {
 	spawn $bin_cat $file_err
 	expect {
-		-re "REQUEST_FILE_BCAST.* Permission denied" {
+		-re "error: REQUEST_FILE_BCAST" {
 			send_user "These errors are expected, no worries\n"
 			incr matches
 			exp_continue
 		}
-		-re "REQUEST_FILE_BCAST.* Operation not permitted" {
-#			variation on Permission denied if initgroups() fails
-#			due to not running slurmd as root
+		-re "ls.* No such file" {
 			send_user "These errors are expected, no worries\n"
 			incr matches
 			exp_continue
 		}
-		-re "REQUEST_FILE_BCAST.* File exists" {
-			send_user "Vestigial file should be removed\n"
-			incr matches
-			exp_continue
-		}
-		-re "No such file" {
-			send_user "These errors are expected, no worries\n"
-			incr matches
-			exp_continue
-		}
-		-re "does not exist" {
+		-re "ls.* does not exist" {
 			send_user "These errors are expected, no worries\n"
 			incr matches
 			exp_continue
 		}
-		-re "not found" {
+		-re "ls.* not found" {
 			send_user "These errors are expected, no worries\n"
 			incr matches
 			exp_continue
diff --git a/testsuite/expect/test23.2 b/testsuite/expect/test23.2
index 27e5f711bc34a6e871c5032c4b581a5d40ac40ab..cd3a2939235755b8726af51c3b9d863f165cfe7c 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 -v --account=$test_acct $file_in1
+spawn $sbatch -N1 -t1 -v --account=$test_acct $file_in1
 expect {
 	-re "Submitted batch job ($number)" {
 		set job_id3 $expect_out(1,string)