aboutsummaryrefslogtreecommitdiff
path: root/aux/lib.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Partially undo 7bb30b4d8ec7fdb24b23b02f04897d9b0480056fEuAndreh2022-01-211-1/+1
| | | | | | | | | | | | Pandoc doesn't handle files with diacritics properly, as can be seen in: $ git notes --ref=refs/notes/ci-logs show 014d4b731abab519c50fe4c7dec94ce1291d2716 | grep pandoc pandoc: /tmp/uuid-tmpname.diacritic and spaces.2e6006db-7196-3795-135a-4a4e5a8e7d4d: openBinaryFile: invalid argument (invalid character) I'll stick with spaces only, and when I eventually replace Pandoc with something smaller and simpler (as seen in #td-e8d9a644-ead4-af05-8582-eef22af90633), I'll return to this issue, and inject diacritics back.
* {aux,tests}/lib.sh: Use UUIDs for tmpnames to remove dependency on m4EuAndreh2022-01-211-2/+1
|
* Add diacritic and spaces to mk{s,d}temp paths to enforce that everything ↵EuAndreh2022-01-201-1/+2
| | | | works with it
* {aux,tests}/lib.sh: Use -n1 instead of -1 for head commandEuAndreh2022-01-161-1/+1
|
* Remove extra \\ after | in line breaksEuAndreh2021-07-271-2/+2
| | | | Implements #task-1f103822-c865-254c-f6b6-4968f2fb473e.
* aux/lib.sh: Add mkstemp and mkdtemp, and copy uuid overEuAndreh2021-07-151-0/+30
The tests were relying on the unspecified and non-standartized behaviour of "mktemp". Now they use "mkstemp()", a shim sh function to provide the expected behaviour, and an accompanying "mkdtemp()" function is also defined. To further decouple from specific implementations and OS-behaviours and quirks, a aux/lib.sh file containing both those functions was added. Its purpose is to also allow code under aux/ to not depend on specific behaviour. "mkdtemp()" had to be replicated in aux/ci/ci-build.sh, since it runs outside the repository.