=============== Grading lab 1...(may take 10 seconds) /scripts/grade/lab1.sh: ./scripts/grade/expects/lab1.exp: /usr/bin/expect: bad interpreter: No such file or directory
score: 126/100
报错的原因是没有安装 expect 包
expect
ubuntu 下可以用以下命令安装:
sudo apt install expect