Files
twx-linux/fs/bcachefs
Guenter Roeck 5fec5750cf mean_and_variance: Drop always failing tests
[ Upstream commit 97ca7c1f93 ]

mean_and_variance_test_2 and mean_and_variance_test_4 always fail.
The input parameters to those tests are identical to the input parameters
to tests 1 and 3, yet the expected result for tests 2 and 4 is different
for the mean and stddev tests. That will always fail.

     Expected mean_and_variance_get_mean(mv) == mean[i], but
        mean_and_variance_get_mean(mv) == 22 (0x16)
        mean[i] == 10 (0xa)

Drop the bad tests.

Fixes: 65bc410907 ("mean and variance: More tests")
Closes: https://lore.kernel.org/lkml/065b94eb-6a24-4248-b7d7-d3212efb4787@roeck-us.net/
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-10 16:38:08 +02:00
..
2024-01-21 06:01:45 -05:00
2024-01-21 06:01:45 -05:00
2024-01-01 11:47:44 -05:00
2024-01-21 06:01:45 -05:00
2024-01-21 13:27:10 -05:00
2024-01-05 23:24:21 -05:00
2024-01-21 13:27:11 -05:00
2024-01-21 06:01:45 -05:00
2024-01-05 23:24:19 -05:00
2024-01-01 11:47:44 -05:00
2024-01-21 13:27:11 -05:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:11 -05:00
2024-01-21 13:27:10 -05:00
2024-01-21 06:01:45 -05:00
2024-02-13 21:59:27 -05:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:11 -05:00
2024-01-21 06:01:45 -05:00
2024-01-21 06:01:45 -05:00
2024-01-01 11:47:40 -05:00
2024-01-21 13:27:10 -05:00
2024-01-05 23:24:21 -05:00
2024-02-25 15:45:36 -05:00
2024-01-21 13:27:10 -05:00