File: upstream-tests

package info (click to toggle)
rsync 3.2.3-4%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,452 kB
  • sloc: ansic: 42,298; sh: 5,934; perl: 933; python: 825; asm: 665; makefile: 349; cpp: 289; awk: 191
file content (18 lines) | stat: -rw-r--r-- 402 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
set -e

if [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
  CROSS_COMPILE="--host=$DEB_HOST_GNU_TYPE"
else
  CROSS_COMPILE=
fi

# Create needed files for tests
./prepare-source build
./configure.sh $CROSS_COMPILE

# Supress gcc warnings (autopkg treats them as failures)
make tls getgroups getfsdev trimslash t_unsafe wildtest testrun 2>/dev/null

# Run tests
rsync_bin="/usr/bin/rsync" ./runtests.sh