Make the test pass. It appears that this however does not reproduce thePR kern/46463, even though the command is exactly the same.
Add a test case for PR kern/46463. From Richard Hansen.