We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e11361 commit 6884c15Copy full SHA for 6884c15
scripts/test-alt_alloc.sh
@@ -16,7 +16,9 @@ make disk_img
16
17
make A=exercises/alt_alloc/ run | tee $tmp_file
18
19
-output=$(tail -n1 ./$tmp_file | grep -a "$grep_content")
+# output=$(tail -n1 ./$tmp_file | grep -a "$grep_content")
20
+# 修改:检查整个文件而不是最后一行
21
+output=$(grep -a "$grep_content" ./$tmp_file)
22
23
rm -rf $tmp_file
24
0 commit comments