Author: Stan Eisenstat
Subject: Re: [Cs223] Accessing test scripts, expected output, sample Makefile
Date: Monday, 27 Jan 2020, 18:53:36
> Message Posted By: Unknown > > Contrary to what is suggested in the specification and in lecture today, I > am unable to access the test script (eg. via /c/cs223/Hwk1/Tests/t01.c), > expected test output (eg. via /c/cs223/Hwk1/Tests/t01.X), and the sample > Makefile (via /c/cs223/Hwk1/Makefile). When I type in any of the above > commands, the terminal returns Permission denied. Can we be given access > to the above files. For the test scripts, it is quite difficult to > understand why we failed without access to the public test script. Hwk1/Tests/t01.c is a C source file, Hwk1/Tests/t01.X, and Hwk1/Makefile are text files, not executables. Thus typing the name of any of these files in response to a shell prompt will fail with "permission denied". Instead you must use /bin/cat, /bin/more, an editor, ..., as in % cat /c/cs223/Hwk1/Tests/t01.c --Stan-PREV INDEX NEXT