CI: deviceinfo: allow inline comments
The current test script disallows these kinds of comments:
deviceinfo_some_variable="some_value" # an inline comment
Since deviceinfo is essentially a shell script, it does make sense to allow inline comments. It is relatively simple to implement as well, by adjusting the regex.