#916844 purity: Purity looks in the wrong place for tests specified without full path

Package:
purity
Source:
purity
Description:
automated purity testing software
Submitter:
Vinothan Shankar
Date:
2018-12-19 13:51:04 UTC
Severity:
important
#916844#5
Date:
2018-12-19 13:36:53 UTC
From:
To:
Dear Maintainer,

Attempting to run purity tests in the more traditional way ("purity list"; "purity nerd"; &c) fails with the unhelpful "error opening datafile '$test'" (for any given $test).  Running under strace reveals that the program is searching under /usr/games/lib/pt/, when of course the tests actually reside at /usr/share/games/purity instead.

One can still access tests by specifying their full path ("purity /usr/share/games/purity/nerd"), so the package isn't entirely unusable, but this is still a major obstacle.