File: run-unaligned-write

package info (click to toggle)
gcc-sh-elf 8.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 140 kB
  • sloc: ansic: 237; makefile: 93; sh: 54
file content (11 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/dash
# SPDX-FileCopyrightText: 2021 John Scott <jscott@posteo.net>
# SPDX-License-Identifier: GPL-3.0-or-later
set -e
sh-elf-gcc debian/tests/unaligned-write.c -o "$AUTOPKGTEST_TMP"/unaligned-write
cd "$AUTOPKGTEST_TMP"
set +e
sh-elf-run ./unaligned-write 2>&1
if [ $? -eq 0 ]
then exit 1
fi