From 20c642ceb3f70101302891eb44f1110567be3cc3 Mon Sep 17 00:00:00 2001 From: Khairul Azhar Kasmiran Date: Sun, 16 Feb 2020 22:41:09 +0800 Subject: [PATCH] Convert ONE_STREAM tests to EXPECT_ERR (#15979) --- test/new/db/cmd/cmd_pd | 28 +++++++++++++++++++++------- test/new/db/cmd/cmd_pf2 | 9 ++++++--- test/new/db/cmd/feat_foreach | 3 ++- test/new/db/tools/r2 | 7 ------- test/new/db/tools/r2r | 29 +++++++++++++++++++++++++++++ 5 files changed, 58 insertions(+), 18 deletions(-) create mode 100644 test/new/db/tools/r2r diff --git a/test/new/db/cmd/cmd_pd b/test/new/db/cmd/cmd_pd index a94b87d293..a75c4e2209 100644 --- a/test/new/db/cmd/cmd_pd +++ b/test/new/db/cmd/cmd_pd @@ -1037,8 +1037,7 @@ pd 1 @ 0x00400463 EOF RUN -NAME=bin.str.enc alias and error handling -ONE_STREAM=1 +NAME=bin.str.enc alias FILE=../bins/elf/strenc CMDS=< \\u00a2\\u20ac\\U00010348 in cyan:\x1b[36m \xa2\u20ac\U00010348 \x1b[0m\n" -Unknown encoding: cat_sat_on_keyboard -utf32le utf32be utf16le +EOF +RUN + +NAME=bin.str.enc error handling +# Unbreak this and r2r.v goes XX +BROKEN=1 +FILE=- +CMDS=<