@@ -1,5 +1,6 @@
11#!/usr/bin/env bash
22# Tests that documentation only is written when safe
3+mkdir do_not_delete_doc
34idris --mkdoc package.ipkg > lines
45echo Expects exit status 1: $?
56echo Expects 2 lines of output:
@@ -7,4 +8,4 @@ wc -l lines
78echo Expects the first line to be type checking:
89grep "Type checking \\./A\\.idr" lines
910echo Cannot check the second line as it contains a host-dependent string.
10−rm -f *.ibc lines
11+rm -rf do_not_delete_doc *.ibc lines