File test01.spec of Package test01

#
# spec file for package test01
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           test01
Version:        0.0.1
Release:        0
Summary:        Check for SCTP support
License:        MIT
Group:          Hardware/Modem
URL:            https://osmocom.org
BuildRequires:  coreutils
BuildRequires:  lksctp-tools
BuildRequires:  strace
#
BuildRequires:  kmod
BuildRequires:  kernel-default

%description
Test for SCTP support in the public OBS instance.

%prep

%build
echo "### RUN checksctp"
strace %{_bindir}/checksctp

echo "### RUN sctp_test"
# run sctp_test to bind a socket for 3 seconds
timeout 3 strace sctp_test -H 127.0.0.1 -P 8000 -l

%install

%files

%changelog
openSUSE Build Service is sponsored by