Create an empty scripted-diff commit (use the `--allow-empty` option)
with `echo scripted-diff;` as the shell script, then run:
arc scripted-diff
Should return:
Scripted-diff check is successful
Modify any file then run:
arc scripted-diff
Should return:
Scripted-diff: scripted output does not match the commit content.
Amend the commit message to set the shell script section to:
cat filenotfound.txt
Then run:
arc scripted-diff
Should return:
Scripted-diff: the script returned an error.
Checkout a non scripted-diff commit and run:
arc scripted-diff
It should return nothing.