Skip to content

Commit e770454

Browse files
committed
Merge branch 'expand-txtimestamp-selftest'
Willem de Bruijn says: ==================== expand txtimestamp selftest Convert the existing txtimestamp test to run as part of kselftest and return a pass/fail. Also expand the variations of timestamping tested, including packet sockets, ipv6 raw and dgram and passing options using cmsg. These are enough changes to split across a few patches, even if all changes are only this one test. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents a6ae520 + cda261f commit e770454

File tree

5 files changed

+367
-80
lines changed

5 files changed

+367
-80
lines changed

tools/testing/selftests/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ TARGETS += mount
2525
TARGETS += mqueue
2626
TARGETS += net
2727
TARGETS += netfilter
28+
TARGETS += networking/timestamping
2829
TARGETS += nsfs
2930
TARGETS += powerpc
3031
TARGETS += proc
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# SPDX-License-Identifier: GPL-2.0
22
CFLAGS += -I../../../../../usr/include
33

4-
TEST_PROGS := hwtstamp_config rxtimestamp timestamping txtimestamp
4+
TEST_GEN_FILES := hwtstamp_config rxtimestamp timestamping txtimestamp
5+
TEST_PROGS := txtimestamp.sh
56

67
all: $(TEST_PROGS)
78

89
top_srcdir = ../../../../..
910
include ../../lib.mk
1011

1112
clean:
12-
rm -fr $(TEST_PROGS)
13+
rm -fr $(TEST_GEN_FILES)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_IFB=y
2+
CONFIG_NET_SCH_NETEM=y

0 commit comments

Comments
 (0)