]> arthur.barton.de Git - bup.git/commit
test_resolve_loop: ensure exception is actually thrown
authorRob Browning <rlb@defaultvalue.org>
Sat, 12 Jan 2019 22:22:14 +0000 (16:22 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 13 Jan 2019 18:09:13 +0000 (12:09 -0600)
commit06da068a793cd12629f8be5d105bb3af281e61dd
treead1ec488ad2e2607e2231bc12163224d92b1eb0b
parent5962b7ec9412d7130a1367d0e8f952826bb7f850
test_resolve_loop: ensure exception is actually thrown

Make sure to resolve the correct path, and ensure the call never
returns.  Previously when the path was wrong, and it *was* wrong, the
test would appear to succeed even though it wasn't actually testing
the intended ELOOP case.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/t/tvfs.py