Skip to content

Commit 6884c15

Browse files
committed
test2:alt_alloc retry
1 parent 9e11361 commit 6884c15

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/test-alt_alloc.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ make disk_img
1616

1717
make A=exercises/alt_alloc/ run | tee $tmp_file
1818

19-
output=$(tail -n1 ./$tmp_file | grep -a "$grep_content")
19+
# output=$(tail -n1 ./$tmp_file | grep -a "$grep_content")
20+
# 修改:检查整个文件而不是最后一行
21+
output=$(grep -a "$grep_content" ./$tmp_file)
2022

2123
rm -rf $tmp_file
2224

0 commit comments

Comments
 (0)