Skip to content

Commit 21c8639

Browse files
committed
Fix to use the correct expected output for m68k CI test
1 parent ed1e9b7 commit 21c8639

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/m68k.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ jobs:
113113
CG_RUSTFLAGS="-Clinker=m68k-unknown-linux-gnu-gcc" ../../y.sh cargo build --target m68k-unknown-linux-gnu
114114
sudo cp target/m68k-unknown-linux-gnu/debug/hello_world $vm_dir/home/
115115
sudo chroot $vm_dir qemu-m68k-static /home/hello_world > hello_world_stdout
116-
test $(cat hello_world_stdout) == "Hello, world!" || (echo "Output differs. Actual output: $(cat hello_world_stdout)"; exit 1)
116+
expected_output="40"
117+
test $(cat hello_world_stdout) == $expected_output || (echo "Output differs. Actual output: $(cat hello_world_stdout)"; exit 1)
117118
118119
# Summary job for the merge queue.
119120
# ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!

0 commit comments

Comments
 (0)