project-2-starter's Issues
P2 Grade Report D2
Grade Report Deliverable 1
Deliverable 1 Grades
Effort: 10.00/10.00
Compilation: 10.00/10.00
Tests: 4.25/80.00
Final Grade: 34.74/100.00
Test Suite Summary
Passing tests for test_file_redirection_00: 0/6.
Points 0.00/20.00 pts
Passing tests for test_file_redirection_01: 0/8.
Points 0.00/15.00 pts
Passing tests for test_file_redirection_02: 6/10.
Points 3.00/5.00 pts
Passing tests for test_pipelines_00: 0/2.
Points 0.00/15.00 pts
Passing tests for test_pipelines_01: 0/2.
Points 0.00/10.00 pts
Passing tests for test_pipelines_02: 1/4.
Points 1.25/5.00 pts
Passing tests for test_file_redirection_pipelines_00: 0/6.
Points 0.00/10.00 pts
Passing Test Cases: 7/38
Test Suite Outputs
Running test group: test_file_redirection_00
--------------------------------- Captured Out ---------------------------------
Provided Input:
rm -f foo.txt
Expected Output:
NO OUTPUT
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
--------------------------------- Captured Out ---------------------------------
Provided Input:
/bin/echo hello > foo.txt
Expected Output:
NO OUTPUT
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
--------------------------------- Captured Out ---------------------------------
Provided Input:
cat foo.txt
Expected Output:
hello
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
Running test group: test_file_redirection_01
--------------------------------- Captured Out ---------------------------------
Provided Input:
rm -f foo.txt
Expected Output:
NO OUTPUT
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
--------------------------------- Captured Out ---------------------------------
Provided Input:
/bin/echo hello > foo.txt
Expected Output:
NO OUTPUT
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
--------------------------------- Captured Out ---------------------------------
Provided Input:
/bin/echo earth >> foo.txt
Expected Output:
NO OUTPUT
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
--------------------------------- Captured Out ---------------------------------
Provided Input:
cat < foo.txt
Expected Output:
hello
earth
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
Running test group: test_file_redirection_02
--------------------------------- Captured Out ---------------------------------
Provided Input:
rm -f noexist.dat
Expected Output:
NO OUTPUT
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
--------------------------------- Captured Out ---------------------------------
Provided Input:
grep foo < noexist.dat
Expected Output:
ARBITRARY
Generated Output:
TODO: handle external commands
Expected Status: FAILURE
Generated Status: FAILURE
Matching Output: True
Matching Status: True
Points: 2/2
--------------------------------- Captured Out ---------------------------------
Provided Input:
grep foo < /etc/shadow
Expected Output:
ARBITRARY
Generated Output:
TODO: handle external commands
Expected Status: FAILURE
Generated Status: FAILURE
Matching Output: True
Matching Status: True
Points: 2/2
--------------------------------- Captured Out ---------------------------------
Provided Input:
true >> /etc/shadow
Expected Output:
ARBITRARY
Generated Output:
TODO: handle external commands
Expected Status: FAILURE
Generated Status: FAILURE
Matching Output: True
Matching Status: True
Points: 2/2
--------------------------------- Captured Out ---------------------------------
Provided Input:
rm -f noexist.dat
Expected Output:
NO OUTPUT
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
Running test group: test_pipelines_00
--------------------------------- Captured Out ---------------------------------
Provided Input:
uname -r | wc -c
Expected Output:
14
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
Running test group: test_pipelines_01
--------------------------------- Captured Out ---------------------------------
Provided Input:
grep nologin /etc/passwd | head -5 | tac | tail -1
Expected Output:
bin:x:1:1::/:/sbin/nologin
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
Running test group: test_pipelines_02
--------------------------------- Captured Out ---------------------------------
Provided Input:
cat /dev/null | false
Expected Output:
NO OUTPUT
Generated Output:
TODO: handle external commands
Expected Status: FAILURE
Generated Status: FAILURE
Matching Output: False
Matching Status: True
Points: 1/2
--------------------------------- Captured Out ---------------------------------
Provided Input:
false | cat /dev/null
Expected Output:
NO OUTPUT
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
Running test group: test_file_redirection_pipelines_00
--------------------------------- Captured Out ---------------------------------
Provided Input:
grep -i BUILD_ID < /etc/os-release | cut -d = -f 2 > build_id
Expected Output:
NO OUTPUT
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
--------------------------------- Captured Out ---------------------------------
Provided Input:
cat build_id
Expected Output:
rolling
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
--------------------------------- Captured Out ---------------------------------
Provided Input:
rm -f build_id
Expected Output:
NO OUTPUT
Generated Output:
TODO: handle external commands
Expected Status: SUCCESS
Generated Status: FAILURE
Matching Output: False
Matching Status: False
Points: 0/2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.