Improve checks for existing command/proc #29

Closed
df wants to merge 13 commits from df/webif:df-commandcheck-patch into master

13 Commits

Author SHA1 Message Date
df 11e010ed3b Merge branch 'master' into df-commandcheck-patch 2020-12-31 00:01:31 +00:00
df 5f29ab2f4d exists -proc -> exists -command
Test was failing for `sqlite3.open`, `xconv`.
2020-12-14 14:36:20 +00:00
df 954ddf6d8b exists -proc -> exists -command 2020-12-14 14:33:53 +00:00
df 1d008a1bce exists -proc -> exists -command
Test was failing for `sqlite3.open`.
2020-12-14 14:32:51 +00:00
df 9779b82bd1 exists -proc -> exists -command
Test was failing for `sqlite3.open`.
2020-12-14 14:30:02 +00:00
df 0f678564b8 exists -proc -> exists -command
Test was failing for `sqlite3.open`.
2020-12-14 14:27:41 +00:00
df 6ac4216d44 exists -proc -> exists -command
Test was failing for `sqlite3.open`.
2020-12-14 14:22:56 +00:00
df 1c5698388c exists -proc -> exists -command
Test was failing for `sqlite3.open`.
2020-12-14 14:15:47 +00:00
df 6fc0acf22f exists -proc -> exists -command
Test was failing for `sqlite3.open`
2020-12-14 14:14:03 +00:00
df 397d383051 exists -proc -> exists -command
`sqlite3.open` is currently a command, so the test for it as a proc fails, presumably not what was intended.
2020-12-14 14:12:32 +00:00
df 23483c8fa5 exists -proc -> exists -command 2020-12-14 14:09:32 +00:00
df b59bead2a2 exists -proc -> exists -command 2020-12-14 14:08:28 +00:00
df b780b3dda8 exists -proc -> exists -command
`exists -command` subsumes `exists -proc`

This test is generally checking whether the command exists, rather than some proc that is overriding it.

Currently `class` is a proc but this may not always be so.
2020-12-14 14:06:48 +00:00