Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No warning if /test-getreadcounts.sh run without required dependencies #28

Open
byanofsky opened this issue Aug 4, 2021 · 3 comments
Open

Comments

@byanofsky
Copy link

While working on initival-xv6 project, I ran the test script /test-getreadcounts.sh. Its resulting output showed test 1 had failed.

Digging deeper, I discovered the required dependency expect was not installed on my system. Directly running the test/1.run script, I received an error that expect could not be found.

However, there was no relevant warning or error displayed when I had run /test-getreadcounts.sh.

After installing expect, the test showed as passing.

@spamegg1
Copy link

spamegg1 commented Aug 4, 2021

@byanofsky There is actually a warning, you need to look into the .err file for that particular test, and it will say something like: /usr/bin/env: 'expect': No such file or directory. But I agree it's not very clear. A friend of mine and I also had to spend some time figuring out what's wrong. Eventually we noticed the .err file. I mentioned the same issue in #22

The problem is that this repo does not seem to be maintained anymore.

@alwaysbemodest
Copy link

even after installing expect, there is still a problem in my machine... it says:
expect: spawn id exp4 not open
while executing
"expect "$ ""
(file "../../tester/run-xv6-command.exp" line 25)

@QifanWang
Copy link

After installing "gawk", I can run /test-getreadcounts.sh .
Same issue in #12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants