If a bad path for FORMTMPSORT is specified, FORM doesn't notice until it tries to create a sort file and can't. In principle one can create a script which takes a long time to reach this point.
Try to create the file immediately at startup, and Terminate if this fails.
coverage: 50.027% (+0.03%) from 49.999%
when pulling 932bc026a833c778ac96c929d81e056608c83e88 on jodavies:check-tmpsort
into 83e3d4185efca2e5938c665a6df9d67d6d9492ca on vermaseren:master.
If a bad path for FORMTMPSORT is specified, FORM doesn't notice until it tries to create a sort file and can't. In principle one can create a script which takes a long time to reach this point.
Try to create the file immediately at startup, and Terminate if this fails.