Files
Ever ATILANO f19dac11ff meta-oe: recipes-extended: bitwise: Add ptest
Signed-off-by: Ever ATILANO <ever.atilano@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Frank WOLFF <frank.wolff@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-06 13:45:10 -07:00

12 lines
239 B
Bash
Executable File

#!/bin/sh
# Test 1: Basic bitwise operation
bitwise --no-color -w b 0x42 > test.out
# Compare expected output with actual output
if ! cmp test.out ptest.out.expected; then
echo "[FAIL] Test 1: Basic bitwise operation"
exit 1
fi