Skip to content

Conversation

@Emantor
Copy link
Member

@Emantor Emantor commented Mar 14, 2017

This PR has two client fixes:

  • add verbosity to the client export function for tests
  • fix inaccessable places if they are fully found within another placename

The assert only checked whether a place was acquired, explicitly check if user
and hostname match and raise an appropriate exception if they don't.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
@coveralls
Copy link

coveralls commented Mar 14, 2017

Coverage Status

Coverage decreased (-0.3%) to 47.955% when pulling 9a0860a on Emantor:fix/target_config_explicit_check into 13e9254 on labgrid-project:master.

@Emantor Emantor force-pushed the fix/target_config_explicit_check branch 2 times, most recently from 70a2f55 to 9a2c6fb Compare March 14, 2017 11:29
@coveralls
Copy link

coveralls commented Mar 14, 2017

Coverage Status

Coverage decreased (-0.3%) to 47.925% when pulling 9a2c6fb on Emantor:fix/target_config_explicit_check into 13e9254 on labgrid-project:master.

@Emantor Emantor changed the title remote/client: replace assert with explicit checks for user and host remote/client: various fixes Mar 14, 2017
@coveralls
Copy link

coveralls commented Mar 14, 2017

Coverage Status

Coverage decreased (-0.1%) to 48.084% when pulling 9a2c6fb on Emantor:fix/target_config_explicit_check into 13e9254 on labgrid-project:master.

@coveralls
Copy link

coveralls commented Mar 14, 2017

Coverage Status

Coverage decreased (-0.3%) to 47.925% when pulling 9a2c6fb on Emantor:fix/target_config_explicit_check into 13e9254 on labgrid-project:master.

Previously the client would deny access to places which are fully reachable in
other places, e.g. "abc" and "abcdef" making only "abcdef" accessable. If we
have an exact match in our match list return it immediately.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
@Emantor Emantor force-pushed the fix/target_config_explicit_check branch from 9a2c6fb to 9caee37 Compare March 14, 2017 12:00
@coveralls
Copy link

coveralls commented Mar 14, 2017

Coverage Status

Coverage decreased (-0.3%) to 47.925% when pulling 9caee37 on Emantor:fix/target_config_explicit_check into 13e9254 on labgrid-project:master.

Copy link
Member

@jluebbe jluebbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@jluebbe jluebbe merged commit e079981 into labgrid-project:master Mar 15, 2017
@Emantor Emantor deleted the fix/target_config_explicit_check branch March 21, 2017 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants