libelf/test-suite: Simplify use of the TP_SET_VERSION() macro.
This macro is used early during test case setup (before other
test resources are allocated), so we can just return with an
'UNRESOLVED' test status if setup fails.
tests/tet: (WIP) Improve test conciseness.
TET handles multiple calls to tet_result() in a well-defined
way: when there are multiple calls to tet_result() from
within a test, 'FAIL' or 'UNRESOLVED' test statuses will
override any subsequent 'PASS' statuses. Use this behavior
to remove the need to track test status using a dedicated
'result' variable.
Subsequent changes will remove the now-redundant 'result'
variable from test case code.
tools/netbsd-base-system-import.sh: Suppress unwanted expansion of $NetBSD$.
Before this change, instances of the literal string '$NetBSD$' within
this script were expanded by NetBSD's CVS if this script was imported
into NetBSD's sources and then checked out. When subsequently used,
the script would then copy the expanded string into the locations
in the files being imported where the literal string '$NetBSD$'
was desired.
Although harmless (as CVS would eventually use the correct expansion
when the imported files were checked out later), the use of the
expanded value for '$NetBSD$' caused confusing diffs prior to check-in.
With this change, the literal string '$NetBSD$' should be placed in
the desired locations as-is.