Commit 3776faf
committed
testsuite: fix a couple tests in t0100-modprobe.t
Problem: A couple of tests in t0100-modprobe.t use `libexecdir`
as the expected path to `modprobe.d`, but this should be `datadir`.
This works for the build tree since `libexecdir` == `datadir`, but
will fail when testing installed Flux. Additionally, use of `$(pwd)`
as a search path entry may not be failsafe, since there is a chance
a different path could be printed by modprobe, e.g. in the case of
a symlink.
Fix these issues by using `datadir` for expected paths to modprobe
TOML files, and an explicit fake path in place of `$(pwd)` when
matching exact paths in output.
Additionally, add more useful debug output to these tests.1 parent 31459ee commit 3776faf
1 file changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
| 548 | + | |
549 | 549 | | |
550 | | - | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
551 | 555 | | |
552 | | - | |
| 556 | + | |
553 | 557 | | |
554 | 558 | | |
555 | 559 | | |
556 | 560 | | |
557 | | - | |
| 561 | + | |
558 | 562 | | |
559 | | - | |
560 | | - | |
561 | | - | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
562 | 569 | | |
563 | 570 | | |
564 | 571 | | |
| |||
0 commit comments