10 lines
349 B
Bash
10 lines
349 B
Bash
|
./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
|