Ideally, if identify is executed in directory /different/path, a relative path/to/libc.so should be sourced from /different/path.
Current behaviour:
/different/path$ /path/to/libc-database/identify ./libc.so.6
Usage: /path/to/libc-database/identify path/to/libc.so
OR /path/to/libc-database/identify bid=<BUILD_ID>
OR /path/to/libc-database/identify md5=<MD5>
OR /path/to/libc-database/identify sha1=<SHA1>
OR /path/to/libc-database/identify sha256=<SHA256>
Ideally, if
identify
is executed in directory/different/path
, a relativepath/to/libc.so
should be sourced from/different/path
.Current behaviour:
Expected & new behaviour:
normal test cases to make sure nothing broke: