Commit 7e62f90
committed
tst_net.sh: Fix tst_brk() use in tst_netload_brk()
Since 1878502 ("tst_test.sh/tst_brk(): Allow only TBROK and TCONF")
it's not possible to use tst_brk() with TFAIL. Call tst_res() followed
by tst_brk() for TFAIL/TWARN.
Also convert failure on missing file to TBROK.
Link: https://lore.kernel.org/ltp/20260127131427.146592-2-pvorel@suse.cz/
Reviewed-by: Li Wang <liwang@redhat.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Petr Vorel <pvorel@suse.cz>1 parent 7f327cb commit 7e62f90
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
744 | | - | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
745 | 750 | | |
746 | 751 | | |
747 | 752 | | |
| |||
863 | 868 | | |
864 | 869 | | |
865 | 870 | | |
866 | | - | |
867 | | - | |
| 871 | + | |
868 | 872 | | |
869 | 873 | | |
870 | 874 | | |
| |||
0 commit comments