86e9e8b660
add test
10 lines
349 B
Bash
Executable file
10 lines
349 B
Bash
Executable file
./cli.js --lang en --images --audio --video "example/*.gmi"
|
|
if cmp -s "example/test.html" "example/expected.html"; then
|
|
printf "PASS: test.html matches expected.html!\n"
|
|
else
|
|
printf "FAIL: test.html DOES NOT match expected.html!\n"
|
|
cmp "example/test.html" "example/expected.html"
|
|
diff "example/test.html" "example/expected.html"
|
|
exit 1
|
|
fi
|