[Pdbg] [PATCH v5 2/5] tests: Add tests for hexdump()

Joel Stanley joel at jms.id.au
Thu Apr 11 12:35:59 AEST 2019


On Wed, 10 Apr 2019 at 08:03, Amitay Isaacs <amitay at ozlabs.org> wrote:
>
> Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>

Reviewed-by: Joel Stanley <joel at jms.id.au>

> +test_result 0 <<EOF
> +0x0000000000001000:                                              00
> +0x0000000000001000:                                           00 01
> +0x0000000000001000:                                        00 01 02
> +0x0000000000001000:                                     00 01 02 03
> +0x0000000000001000:                                  00 01 02 03 04
> +0x0000000000001000:                               00 01 02 03 04 05
> +0x0000000000001000:                            00 01 02 03 04 05 06
> +0x0000000000001000:                         00 01 02 03 04 05 06 07
> +0x0000000000001000:                      00 01 02 03 04 05 06 07 08
> +0x0000000000001000:                   00 01 02 03 04 05 06 07 08 09
> +0x0000000000001000:                00 01 02 03 04 05 06 07 08 09 0a
> +0x0000000000001000:             00 01 02 03 04 05 06 07 08 09 0a 0b
> +0x0000000000001000:          00 01 02 03 04 05 06 07 08 09 0a 0b 0c
> +0x0000000000001000:       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d
> +0x0000000000001000:    00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e
> +0x0000000000001000: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
> +EOF

Nice picture!


More information about the Pdbg mailing list