19 lines
664 B
Plaintext
19 lines
664 B
Plaintext
VERIFICATION TEST: SHA256 TOOL
|
|
================================
|
|
|
|
Test 1: /etc/hostname
|
|
Expected: 1c7ae0f30a68699c38441fd54bfbe20aed8e0c7c8793e25db41d2ff169b9639c
|
|
Tool Output: 1c7ae0f30a68699c38441fd54bfbe20aed8e0c7c8793e25db41d2ff169b9639c
|
|
Match: YES
|
|
|
|
Test 2: /etc/passwd
|
|
Expected: 24a9d154e8b4556887f514b99bcd92c4d15fefbf284ff7ad481dad412849bd24
|
|
Tool Output: 24a9d154e8b4556887f514b99bcd92c4d15fefbf284ff7ad481dad412849bd24
|
|
Match: YES
|
|
|
|
Test 3: Error handling for missing file
|
|
Expected: exit code 1, error message printed
|
|
Result: exit_code=1, "Error: /nonexistent not found" printed
|
|
Match: YES
|
|
|
|
CONCLUSION: Tool verified correct against system sha256sum utility. |