<div dir="ltr">indeed. i don't know _why_ this is happening, but i think that means the fix (attached) is obvious at least.<div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 27, 2023 at 9:40 AM Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 5/26/23 17:57, enh via Toybox wrote:<br>
> We're seeing (rare) flake in CI, without enough information to even<br>
> guess what the problem might be:<br>
> ```<br>
> FAIL: modinfo -F filename gets absolute path<br>
> echo -ne '' | modinfo -F filename<br>
> --- expected 2023-05-09 07:43:19.487000369 +0000<br>
> +++ actual 2023-05-09 07:43:19.507000369 +0000<br>
> @@ -1 +0,0 @@<br>
> -<br>
> ```<br>
> <br>
> Maybe at least knowing the module name will help?<br>
<br>
The "echo -ne" line right after the FAIL: line shows the command line that got<br>
called (and the input sent to it, in this case none). Your change:<br>
<br>
-testing "-F filename gets absolute path" "modinfo -F filename $MODULE1" \<br>
- "$MODULE_PATH1\n" "" ""<br>
+testing "-F filename $MODULE1 gets absolute path" \<br>
+ "modinfo -F filename $MODULE1" "$MODULE_PATH1\n" "" ""<br>
<br>
doesn't seem like it's providing more information? The old one had $MODULE1 at<br>
the end of the command line, but your cut and paste failure message ends after<br>
-F filename, so it looks like $MODULE1 was blank?<br>
<br>
Rob<br>
</blockquote></div>