makefile-infra-rework 08.18.2009 HEAD patch
Subsystems (4)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 makefile-infra-rework 08.18.2009 HEAD patch
Here's the patch for the work that has been taking place on the makefile-infra-rework branch over the past month. Watch out... it's long 0-o...
I've tested it fairly thoroughly PRIOR to the collapse, BUT any additional testing is MORE than welcome XD. I will run integration tests when I return home tonight / sometime tomorrow (08/19/2009).
====================================================================================================
This patch contains any Makefile rework executed as part of the charter in the README.mk-devel file, as well as any source file changes required to simplify the Makefile transition, including any and all consolidation of sources from multiple locations to a common source (ipv6 vs tcp_cmds for example). The only exception is perf_lan, which is still split into 2 sourcefiles due to time constraints, and will be completely consolidated into one sourcefile in the near future.
No work was done in the rpc / tirpc Makefiles on purpose, as there aren't executed as part of the default set anyhow. No changes to ballista nor the open_posix_testsuite's Makefiles were made, but these will need to be made in the future.
Any sources pulled in after 07/2009 will need to be rewritten to conform to the new standard as they aren't included with this patch.
Index: Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/Makefile,v
retrieving revision 1.41
Makefile +144 -141
@@ -1,159 +1,162 @@ -# See toplevel INSTALL for build info +# +# Top-level Makefile for LTP. See INSTALL for more info. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -ifdef CROSS_COMPILE -CROSS_COMPILER = $(CROSS_COMPILE) +# Force IDcheck.sh to fix any issues found with $(DESTDIR)/etc/group and +# $(DESTDIR)/etc/passwd automatically when after running the top-level +# install target. +CREATE_ENTRIES ?= 0 + +top_srcdir := $(CURDIR) + +include include/mk/automake.mk +include include/mk/master_include.mk + +# Only check for numa when not cross-compiling. +ifeq ($(strip $(CROSS_COMPILE)),1) +# Disable all undetectable cross-compilation required items. +SKIP_IDCHECK := 1 endif -ifdef CROSS_COMPILER -CC=$(CROSS_COMPILER)gcc -AR=$(CROSS_COMPILER)ar -RANLIB=$(CROSS_COMPILER)ranlib + +# This variable is automatically changed from help to all once someone has +# run configure, or the equivalent steps manually, as described in +# README.mk-user. +ifeq ($(wildcard include/config.h),) +.DEFAULT_GOAL := help else -# RANLIB isn't a standard Make variable, which means that when it's exported -# to leaf callers as an empty value, builds fail. -# testcases/network/lib6/Makefile is a prime example. -RANLIB?=ranlib -endif - -HAS_NUMA=$(shell sh tools/scripts/numa_test.sh) - -export CFLAGS += -Wall $(CROSS_CFLAGS) -export CC AR RANLIB CPPFLAGS LDFLAGS HAS_NUMA - -# SKIP_IDCHECK != 1, defaults to previous behavior, which is to execute -# IDcheck.sh at the end of `make install'. -SKIP_IDCHECK ?= 0 - --include config.mk - -VPATH += include m4 -all: config.h config.mk libltp.a - @$(MAKE) -C pan $@ - @$(MAKE) -C testcases $@ - @$(MAKE) -C tools $@ - @$(MAKE) -C utils $@ - @echo - @echo "***********************************************" - @echo "** You now need to do a make install as root **" - @echo "***********************************************" - -install: all - @$(MAKE) -C testcases install - @$(MAKE) -C tools install - @$(MAKE) -C lib install - @$(MAKE) -C include install - @$(MAKE) -C pan install - @$(MAKE) -C m4 install - @$(MAKE) -C doc/man1 install - @$(MAKE) -C doc/man3 install -ifneq ($(strip $(SKIP_IDCHECK)),1) - @./IDcheck.sh -endif - -libltp.a: config.h - @$(MAKE) -C lib $@ - -uclinux: uclinux_libltp.a - #@$(MAKE) -C pan all - @$(MAKE) -C testcases uclinux - @$(MAKE) -C tools all - @echo - @echo "*******************************************************" - @echo "** You now need to do a make uclinux_install as root **" - @echo "*******************************************************" - -uclinux_install: uclinux - @$(MAKE) -C testcases uclinux_install - @$(MAKE) -C tools install -ifneq ($(strip $(SKIP_IDCHECK)),1) - @./IDcheck.sh +.DEFAULT_GOAL := all endif -uclinux_libltp.a: - @$(MAKE) -C lib UCLINUX=1 libltp.a +vpath %.am $(top_srcdir)/m4 +vpath %.default $(top_srcdir)/include +vpath %.h $(top_srcdir)/include +vpath %.in $(top_srcdir)/include +vpath %.m4 $(top_srcdir)/m4 +vpath %.mk $(top_srcdir)/mk:$(top_srcdir)/mk/include + +# User wants uclinux binaries? +UCLINUX ?= 0 + +# User wants uclinux binaries. Do this for backwards compatibility, but +# print out a warning. +ifneq ($(filter uclinux%,$(MAKECMDGOALS)),) +$(warning uclinux* targets will be deprecated in the future.) +$(warning Please specify UCLINUX=1 on the command line to achieve the same) +$(warning functionality.) +UCLINUX := 1 +endif -menuconfig: - @./ltpmenu +# CLEAN_TARGETS: Targets which exist solely in clean. +# COMMON_TARGETS: Targets which exist in all, clean, and install. +# INSTALL_TARGETS: Targets which exist in clean and install (contains +# COMMON_TARGETS). + +# We're not using uclinux based targets (default). +ifneq ($(UCLINUX),1) +COMMON_TARGETS := pan utils +INSTALL_TARGETS := doc m4 +endif -clean: ac-clean - @$(MAKE) -C lib $@ - @$(MAKE) -C pan $@ - @$(MAKE) -C tools $@ - @$(MAKE) -C testcases $@ - @$(MAKE) -C utils $@ +COMMON_TARGETS += testcases tools +INSTALL_TARGETS += $(COMMON_TARGETS) runtest +CLEAN_TARGETS += $(COMMON_TARGETS) include lib runtest -distclean: clean ac-distclean - @$(MAKE) -C include $@ +CLEAN_TARGETS := $(addsuffix -clean,$(CLEAN_TARGETS)) +INSTALL_TARGETS := $(addsuffix -install,$(INSTALL_TARGETS)) +MAKE_TARGETS := $(addsuffix -all,$(filter-out lib,$(COMMON_TARGETS))) -maintainer-clean: distclean ac-maintainer-clean - @$(MAKE) -C include $@ +# There's no reason why we should run `all' twice. Otherwise we're just wasting +# 3+ mins of useful CPU cycles on a modern machine, and even more time on an +# overtaxed one, or one where -j => 1 was specified. +all: $(addsuffix -all,$(COMMON_TARGETS)) -package: - rpmbuild -ba ltp-devel.spec +$(MAKE_TARGETS): lib-install + +## Pattern based subtarget rules. +lib-install: config.h config.mk include-install +$(MAKE_TARGETS) lib-all: %-all: + $(MAKE) -C $* all +# +# Let's not conflict with ac-clean, maintainer-clean, etc, so. # -# Autotools related +# Make sure the Makefile already exists before cd'ing to the directory to avoid +# incomplete source trees / # -.PHONY: autotools -autotools: aclocal autoconf autoheader automake +$(CLEAN_TARGETS): %-clean: %/Makefile + -$(MAKE) -C $* clean + +# include-install is separate to avoid creating a circular dependency below in +# the install target. +$(INSTALL_TARGETS) include-install lib-install: %-install: + $(MAKE) -C $* install + +INSTALL_DIR = $(DESTDIR)/$(prefix) + +clean: $(CLEAN_TARGETS) +ifneq ($(wildcard $(INSTALL_DIR)),/) + -$(RM) -Rf "$(INSTALL_DIR)" +endif -.PHONY: aclocal -aclocal: aclocal.m4 -aclocal.m4: $(wildcard m4/*.m4) - aclocal -I m4 - -.PHONY: autoconf -autoconf: configure -configure: configure.ac aclocal.m4 - autoconf - -.PHONY: autoheader -autoheader: config.h.in -config.h.in: configure.ac $(wildcard m4/*.m4) - autoheader - touch include/$@ -config.h: config.h.default - cp include/config.h.default include/config.h -config.mk: - touch $@ - -.PHONY: automake -AUTOMAKE_FILES = config.guess config.sub install-sh missing -automake: aclocal $(AUTOMAKE_FILES) -$(AUTOMAKE_FILES): m4/Makefile.in -m4/Makefile.in: m4/Makefile.am - automake -c -a - -.PHONY: ac-clean ac-distclean ac-maintainer-clean -ac-clean: - rm -rf autom4te.cache - rm -f config.log config.status -ac-distclean: ac-clean -ac-maintainer-clean: ac-distclean - rm -f aclocal.m4 configure $(AUTOMAKE_FILES) m4/Makefile.in +$(INSTALL_DIR): + mkdir -p $@ -# -# Help -# +RUNLTP := $(INSTALL_DIR)/runltp +RUNLTPLITE := $(INSTALL_DIR)/runltplite.sh + +$(RUNLTP) $(RUNLTPLITE): %: $(INSTALL_DIR) + install -m 00755 "$(top_srcdir)/$(@F)" "$@" + +INSTALL_TARGETS += $(RUNLTP) $(RUNLTPLITE) + +$(INSTALL_TARGETS): all $(INSTALL_DIR) + +## Install +install: $(INSTALL_TARGETS) + install ChangeLog $(DESTDIR)/$(prefix)/ChangeLog + install -m 00755 ver_linux $(DESTDIR)/$(prefix)/ver_linux +ifneq ($(SKIP_IDCHECK),0) + @CREATE_ENTRIES=$(CREATE_ENTRIES) \ + DESTDIR=$(DESTDIR) \ + $(top_srcdir)/IDcheck.sh +else + echo "*******************************************************" + echo "** Will not run IDcheck.sh (SKIP_IDCHECK set to 0). **" + echo "*******************************************************" +endif + +## Misc targets. + +## Help .PHONY: help help: - @echo - @echo 'About configuration' - @echo '-------------------' - @echo 'If you want to use auto configuration, ' - @echo 'be sure autoconf and automake are installed. Then run: ' - @echo ' $$ make autotools ' - @echo ' $$ ./configure ' - @echo ' $$ make all ' - @echo - @echo 'If you want to use default configuration, ' - @echo 'autoconf is not needed. Just run: ' - @echo ' $$ touch include/config.h.default ' - @echo ' $$ make config.h ' - @echo ' $$ make all ' - @echo - @echo 'If make all is failed even if you use the ' - @echo 'auto configuration, please, report it to ' - @echo 'ltp developers with config.log, generated ' - @echo 'by running the configure script. ' - @echo + @cat $(top_srcdir)/README.mk-user + +## Menuconfig +menuconfig: + @$(SHELL) $(top_srcdir)/ltpmenu + +## Package +package: + @$(RPMBUILD) -ba ltp-devel.spec + +## End misc targets.
Index: README.ltp-devel.in
===================================================================
RCS file: README.ltp-devel.in
README.ltp-devel.in new file +48 -0
48 lines not on this page · raw message
Index: README.mk-devel
===================================================================
RCS file: README.mk-devel
README.mk-devel new file +157 -0
157 lines not on this page · raw message
http://www.gnu.org/software/make/manual/make.html#Implicit-Rules
+- variables and expansion:
http://www.gnu.org/software/make/manual/make.html#Using-Variables
+- origin use: http://www.gnu.org/software/make/manual/make.html#Origin-Function +- vpath use: http://www.gnu.org/software/make/manual/make.html#Directory-Search
+
+==============================
+Before Committing
+==============================
+
+One should rebuild from scratch before committing. Here's an example of how to +do that:
+#!/bin/sh
+
+TOOLS_PATH=/path/to/tools
+
+# Replace [options] with any make specific options and variables, for each +# step, example: -j 4, DESTDIR=/path/for/install, etc.
+make maintainer-clean [options]
+make \
+ ACLOCAL=$TOOLS_PATH/bin/aclocal \ + AUTOCONF=$TOOLS_PATH/bin/autoconf \ + AUTOHEADER=$TOOLS_PATH/bin/autoheader \ + AUTOMAKE=$TOOLS_PATH/bin/automake \ + autotools
+./configure [options]
+make all [options]
+make install [options]
+
+==============================
+Other Errata
+==============================
+
+- This system (in its current form) doesn't support out-of-tree build support. +This will be completed soon to properly enable compilation of multiple +architectures with the same source directory.
+
+# vim:
Index: README.mk-user
===================================================================
RCS file: README.mk-user
README.mk-user new file +11 -0
@@ -0,0 +1,33 @@ +============================== +About configuration +============================== + +If you want to use auto configuration, be sure autoconf and automake are +installed. Then run: + $$ make autotools + $$ ./configure + $$ make all + +If you want to use default configuration, autoconf is not needed.
Just run:
+ $$ touch include/config.h.default
+ $$ make config.h
+ $$ make all
+
+If make all is failed even if you use the auto configuration, please, report +your issue to the ltp developers with config.log, generated by running the +configure script.
+
+==============================
+Using non-standard tools
+==============================
+
+Some systems (RHEL 4, etc) only have outdated tools available, due to +licensing concerns. So if you happen to install these tools in a non-standard +spot, here's how you bootstrap LTP with these tools:
+
+ $$ make \
+ ACLOCAL=/path/to/aclocal \ + AUTOCONF=/path/to/autoconf \ + AUTOHEADER=/path/to/autoheader \ + AUTOMAKE=/path/to/automake \ + autotools
Index: TODO
===================================================================
RCS file: TODO
TODO new file +26 -0
@@ -0,0 +1,26 @@ +Items not mentioned here are outstanding. Please contact Garrett Cooper +([email protected]) if you wish to contribute to the branch / collapse. + +Items `fixed': + +All items are fixed, minus.. +- testcases/network + +And other errata noted in as disabled below... + +Garrett Cooper ([email protected]): + +Items intentionally broken (some things didn't compile): + +testcases/kernel/fs/dmapi/* + +Items that were disabled in HEAD, before modifications were made on this +branch, and are still disabled: + +testcases/kernel/security/{selinux-testsuite} +testcases/kernel/syscalls/epoll +tools/top-LTP + +Items that were enabled are: + +testcases/kernel/security/{digsig, smack}
Index: configure.ac
===================================================================
RCS file: /cvsroot/ltp/ltp/configure.ac,v
retrieving revision 1.14
configure.ac +21 -5
@@ -1,26 +1,42 @@ AC_PREREQ([2.61]) AC_INIT([ltp], [cvs], [[email protected]]) +AC_CONFIG_AUX_DIR([.]) AM_INIT_AUTOMAKE([1.10]) AC_CONFIG_HEADERS([include/config.h]) -AC_CONFIG_FILES([config.mk m4/Makefile]) +AC_CONFIG_FILES([ \ + include/mk/config.mk \ + lib/ltp.pc \ + ltp-devel.spec \ + m4/Makefile \ + README.ltp-devel \ +]) AC_CANONICAL_HOST AC_PROG_CC AC_PROG_AR AC_PROG_RANLIB +AC_PREFIX_DEFAULT(/opt/ltp) AC_CHECK_HEADERS_ONCE([ \ -ifaddrs.h \ -sys/capability.h \ -sys/inotify.h \ + dmapi.h \ + ifaddrs.h \ + libaio.h \ + mm.h \ + linux/module.h \ + sys/inotify.h \ +]) + +AC_CONFIG_SUBDIRS([ \ + testcases/open_hpi_testsuite/ \ ]) LTP_CHECK_SYSCALL_EVENTFD LTP_CHECK_SYSCALL_MODIFY_LDT +LTP_CHECK_SYSCALL_NUMA LTP_CHECK_SYSCALL_SIGNALFD +LTP_CHECK_CAPABILITY_SUPPORT LTP_CHECK_SELINUX LTP_CHECK_CRYPTO LTP_CHECK_TASKSTATS -LTP_CHECK_CGROUPSTATS AC_OUTPUT
Index: ltp-devel.spec.in
===================================================================
RCS file: ltp-devel.spec.in
ltp-devel.spec.in new file +68 -0
68 lines not on this page · raw message
Index: runltp
===================================================================
RCS file: /cvsroot/ltp/ltp/runltp,v
retrieving revision 1.47
runltp +1 -2
@@ -85,7 +85,7 @@ exit 1 } - [ -e $LTPROOT/pan/ltp-pan ] || + [ -e $LTPROOT/bin/ltp-pan ] || { echo "FATAL: Test suite driver 'ltp-pan' not found" echo "INFO: as root user type 'make ; make install'"
@@ -725,7 +725,7 @@ fi [ ! -z "$QUIET_MODE" ] && { echo "INFO: Test start time: $(date)" ; } - PAN_COMMAND="${LTPROOT}/pan/ltp-pan $QUIET_MODE -e -S $INSTANCES
$DURATION -a $$ \
+ PAN_COMMAND="${LTPROOT}/bin/ltp-pan $QUIET_MODE -e -S $INSTANCES
$DURATION -a $$ \
-n $$ $PRETTY_PRT -f ${TMP}/alltests $LOGFILE $OUTPUTFILE $FAILCMDFILE"
if [ ! -z "$VERBOSE_MODE" ] ; then
echo "COMMAND: $PAN_COMMAND"@@ -756,7 +756,7 @@
# Some tests need to run inside the "bin" directory. cd "${LTPROOT}/testcases/bin"
- ${LTPROOT}/pan/ltp-pan $QUIET_MODE -e -S $INSTANCES $DURATION -a
$$ -n $$ $PRETTY_PRT -f ${TMP}/alltests $LOGFILE $OUTPUTFILE $FAILCMDFILE
+ ${LTPROOT}/bin/ltp-pan $QUIET_MODE -e -S $INSTANCES $DURATION -a
$$ -n $$ $PRETTY_PRT -f ${TMP}/alltests $LOGFILE $OUTPUTFILE $FAILCMDFILE
if [ $? -eq 0 ]; then
echo "INFO: ltp-pan reported all tests PASS"
Index: runltplite.sh
===================================================================
RCS file: /cvsroot/ltp/ltp/runltplite.sh,v retrieving revision 1.5
runltplite.sh +1 -2
@@ -57,7 +57,7 @@ exit 1 } - [ -e $LTPROOT/pan/ltp-pan ] || + [ -e $LTPROOT/bin/ltp-pan ] || { echo "FATAL: Test suite driver 'ltp-pan' not found" echo "INFO: as root user type 'make ; make install'"
@@ -284,7 +284,7 @@ } [ ! -z "$QUIET_MODE" ] && { echo "INFO: Test start time: $(date)" ; } - PAN_COMMAND="${LTPROOT}/pan/ltp-pan $QUIET_MODE -e -S $INSTANCES
$DURATION -a $$ \
+ PAN_COMMAND="${LTPROOT}/bin/ltp-pan $QUIET_MODE -e -S $INSTANCES
$DURATION -a $$ \
-n $$ $PRETTY_PRT -f ${TMP}/alltests $LOGFILE $OUTPUTFILE"
if [ ! -z "$VERBOSE_MODE" ] ; then
echo "COMMAND: $PAN_COMMAND"@@ -295,7 +295,7 @@
#$PAN_COMMAND #Duplicated code here, because otherwise if we
fail, only "PAN_COMMAND" gets output
# Some tests need to run inside the "bin" directory. cd "${LTPROOT}/testcases/bin"
- ${LTPROOT}/pan/ltp-pan $QUIET_MODE -e -S $INSTANCES $DURATION -a $$ \
+ ${LTPROOT}/bin/ltp-pan $QUIET_MODE -e -S $INSTANCES $DURATION -a $$ \
-n $$ $PRETTY_PRT -f ${TMP}/alltests $LOGFILE $OUTPUTFILE
if [ $? -eq 0 ]; thenIndex: doc/Makefile
===================================================================
RCS file: doc/Makefile
Makefile new file +29 -0
@@ -0,0 +1,29 @@ +# +# Doc Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# + +srcdir ?= .. + +include $(srcdir)/include/mk/master_include.mk + +RECURSIVE_TARGETS := install + +$(eval $(generic_trunk_target))
Index: doc/man1/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/doc/man1/Makefile,v
retrieving revision 1.5
man1/Makefile +24 -9
@@ -1,12 +1,27 @@ +# +# man1 Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# +MANPREFIX := 1 -PREFIX=/usr -MANPAGES=ltp-bump.1 doio.1 iogen.1 ltp-pan.1 - -all: - -install: $(MANPAGES) - @set -e; for i in $(MANPAGES); do \ - install -D -m 644 $$i $(DESTDIR)/$(PREFIX)/share/man/man1/$$i; \ - done +srcdir ?= ../.. +include $(srcdir)/include/mk/man.mk
Index: doc/man3/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/doc/man3/Makefile,v
retrieving revision 1.4
man3/Makefile +24 -12
@@ -1,15 +1,27 @@ +# +# man3 Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# +MANPREFIX := 3 -PREFIX=/usr -MANPAGES=forker.3 get_attrib.3 parse_open_flags.3 parse_opts.3 \ - parse_ranges.3 pattern.3 random_range.3 random_range_seed.3 \ - rmobj.3 string_to_tokens.3 str_to_bytes.3 tst_res.3 \ - tst_set_error.3 tst_sig.3 tst_tmpdir.3 usctest.3 write_log.3 - -all: - -install: $(MANPAGES) - @set -e; for i in $(MANPAGES); do \ - install -D -m 644 $$i $(DESTDIR)/$(PREFIX)/share/man/man3/$$i; \ - done +srcdir ?= ../.. +include $(srcdir)/include/mk/man.mk
Index: include/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/include/Makefile,v
retrieving revision 1.7
Makefile +44 -26
71 lines not on this page · raw message
Index: include/config.h.default
===================================================================
RCS file: /cvsroot/ltp/ltp/include/config.h.default,v retrieving revision 1.4
config.h.default +1 -1
@@ -4,7 +4,7 @@ * game. Please note when certain features were first available. */ -/* Linux kernel headers have been santized for userspace since 2.6.18 */ +/* Linux kernel headers have been sanitized for userspace since 2.6.18 */ #define HAVE_LINUX_TYPES_H 1 /* signalfd() is in glibc-2.7+ */
Index: include/mk/automake.mk
===================================================================
RCS file: include/mk/automake.mk
mk/automake.mk new file +94 -0
94 lines not on this page · raw message
Index: include/mk/config.mk.in
===================================================================
RCS file: include/mk/config.mk.in
mk/config.mk.in new file +74 -0
74 lines not on this page · raw message
Index: include/mk/lib.mk
===================================================================
RCS file: include/mk/lib.mk
mk/lib.mk new file +71 -0
71 lines not on this page · raw message
Index: include/mk/man.mk
===================================================================
RCS file: include/mk/man.mk
mk/man.mk new file +39 -0
@@ -0,0 +1,39 @@ +# +# Manpage include Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# + +ifeq ($(strip $(MANPREFIX)),) +$(error $$(MANPREFIX) not defined) +endif + +include $(srcdir)/include/mk/config.mk + +MANPAGES ?= $(wildcard *.$(MANPREFIX)) + +clean: + -(cd $(DESTDIR)/$(mandir)/man$(MANPREFIX) && $(RM) -f $(MANPAGES)) + +install: $(MANPAGES) + @set -e; installdir="$(DESTDIR)/$(mandir)/man$(MANPREFIX)"; \ + test -d "$$installdir" || mkdir -p "$$installdir"; \ + for i in $^; do \ + install -m 644 "$$i" "$$installdir/$$i"; \ + done
Index: include/mk/master_include.mk
===================================================================
RCS file: include/mk/master_include.mk
mk/master_include.mk new file +25 -0
@@ -0,0 +1,25 @@ +# +# Master include Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# + +# Only include config.mk for non-clean based targets. +-include $(top_srcdir)/include/mk/config.mk +include $(top_srcdir)/include/mk/master_rules.mk
Index: include/mk/master_rules.mk
===================================================================
RCS file: include/mk/master_rules.mk
mk/master_rules.mk new file +118 -0
118 lines not on this page · raw message
target -- skip.
+ifeq ($$(origin INSTALL_DIR),undefined) # Not set by the user -- most like a
+ # programming error now in this .mk
+ # file.
+$$(error INSTALL_DIR is not set (undefined))
+else
+ifeq ($$(strip $$(INSTALL_DIR)),) # Set to an empty string (dev error in
+ # a leaf Makefile, or someone's toying
+ # with the environment).
+$$(error INSTALL_DIR is not set to a empty length string)
+ # else $(INSTALL_DIR) is set to a
+ # empty string.
+
+endif # END: INSTALL_DIR empty string.
+endif # END: undefined
+endif # END: Not install
+
+# An absolute path; don't append $(DESTDIR)/$(prefix) to the var. +ifeq ($$(patsubst /%,,$$(INSTALL_DIR)),)
+INSTALL_PATH := $$(INSTALL_DIR)
+# Otherwise, let's assume that it's not relative to $(prefix) +else
+INSTALL_PATH := $$(DESTDIR)/$$(prefix)/$$(INSTALL_DIR)
+endif
+
+# XXX (garrcoop): This will need to be corrected with a $$(foreach ) after +# generate_install_rule is fixed.
+INSTALL_FILES := $$(addprefix $$(INSTALL_PATH)/,$$(notdir
$$(INSTALL_TARGETS)))
+
+CLEAN_TARGETS += $$(INSTALL_FILES)
+
+$$(INSTALL_PATH):
+ mkdir -p $$@
+
+# XXX (garrcoop): Doesn't work [now]. See generate_install_rule for more +# details.
+#$$(foreach install_file,$$(eval $$(call generate_install_rule,$$(install_file))),$$(INSTALL_FILES))
+
+$$(INSTALL_FILES): %: | $$(INSTALL_DEPS) $$(builddir)/$$(@F) +ifdef INSTALL_PRE
+ $$(INSTALL_PRE)
+endif
+ install -m $$(INSTALL_MODE) $$(builddir)/$$(@F) $$@
+ifdef INSTALL_POST
+ $$(INSTALL_POST)
+endif
+
+OUTPUT_OPTION = -o $$(builddir)/$$(@F)
+
+endef
+
+#
+# generic_leaf_target
+#
+# Generate a set of basic targets (all, clean, install) for a leaf directory +# (no subdirectories).
+#
+# $(INSTALL_DEPS) -> $(INSTALL_FILES) -> install
+#
+# Helpful variables are:
+#
+# $(MAKE_TARGETS) : What to execute as direct dependencies of
+# all.
+# 1. Defaults to the basename of the targets
+# produced by the %.c -> % implicit pattern +# rules, e.g. the MAKE_TARGET in a directory +# like the following:
+#
+# $$ ls /bar
+# foo.c
+#
+# Would be `foo'. Similarly, the following
+# dir structure:
+#
+# $$ ls /bar
+# foo.c zanzibar.c
+#
+# Would be `foo zanzibar'.
+#
+# 2. If you define MAKE_TARGETS as an empty
+# string, this will override the defaults. +# I did this to avoid providing too much +# rope to hang one's self in the event of +# unwanted behavior. +# +# $(CLEAN_TARGETS) : What targets should be cleaned (must be +# real files). This will automatically append +# adds the .o suffix to all files referenced +# by $(MAKE_TARGETS)) to CLEAN_TARGETS, if +# MAKE_TARGETS wasn't defined (see +# $(MAKE_TARGETS)).
+# $(INSTALL_MODE) : What mode should we using when calling
+# install(1)?
+#
+# Also, if you wish to change the installation directory, from the set default +# (testcases/bin) you must do something like either one of the following items:
+#
+# Method A:
+#
+# INSTALL_DIR := /path/to/installdir/from/$(DESTDIR)/$(prefix)
+#
+# e.g. if I wanted to install my binaries in testcases/bin, I would do:
+#
+# INSTALL_DIR := testcases/bin
+#
+# in my calling Makefile.
+#
+# Or Method B:
+#
+# INSTALL_DIR := /path/to/installdir/from/$(DESTDIR)
+#
+# e.g. if I wanted to install my binaries in $(libdir) (which may not exist +# outside of $(prefix) right now, but could in the future), I could do the +# following:
+#
+# INSTALL_DIR := $(libdir)
+#
+define generic_leaf_target
+
+$$(eval $$(generic_target_env_setup))
+
+.PHONY: all clean install
+
+all: $$(MAKE_TARGETS)
+
+clean::
+ifneq ($$(strip $$(CLEAN_TARGETS)),)
+ -$(RM) -f $$(CLEAN_TARGETS)
+endif
+
+$$(INSTALL_FILES): $$(INSTALL_PATH)
+
+install: $$(INSTALL_FILES)
+
+endef
+
+#
+# generic_trunk_target
+#
+# Generate a set of recursive targets to apply over a trunk directory (has +# directories) -- optionally with a set of trunk-based files.
+#
+# All variables in this canned define are essentially the same as +# generic_leaf_target, with the exception that the install flow for local +# targets is:
+#
+# $(INSTALL_DEPS) -> $(INSTALL_FILES) -> trunk-install -> install (recursive) +#
+# All recursive targets are traverse SUBDIRS as defined by the user, or if +# undefined, defaults to any subdirectories where Makefile's are contained +# within.
+#
+# generic_trunk_target specific variables are:
+#
+# RECURSIVE_TARGETS : a list of targets to apply over an entire
+# directory tree. This defaults to
+# `all install'.
+#
+# See generic_leaf_target, generic_target_env_setup, and get_make_dirs for +# more details and design notes.
+#
+define generic_trunk_target
+
+#
+# Doesn't need forced secondary expansion because $(CURDIR) isn't going to +# change (or at least it bloody well shouldn't ;)...).
+#
+# Don't do this in generic_target_env_setup, because we only need to do this +# by default for generic_dir_target.
+#
+$(eval $(get_make_dirs))
+
+RECURSIVE_TARGETS ?= all install
+
+.PHONY: $$(RECURSIVE_TARGETS) $$(addprefix trunk-,$$(RECURSIVE_TARGETS)) +
+$$(eval $$(generic_target_env_setup))
+
+trunk-all: $$(MAKE_TARGETS)
+
+trunk-clean::
+ifneq ($$(strip $$(CLEAN_TARGETS)),)
+ -$(RM) -f $$(CLEAN_TARGETS)
+endif
+
+$$(INSTALL_FILES): $$(INSTALL_PATH)
+
+trunk-install: $$(INSTALL_FILES)
+
+# Avoid creating duplicate .PHONY references to all, clean, and install. IIRC, +# I've seen some indeterministic behavior when one does this in the past with +# GNU Make...
+.PHONY: $$(filter-out $$(RECURSIVE_TARGETS),all clean install) +all: trunk-all
+
+clean:: trunk-clean
+ @set -e; for dir in $$(SUBDIRS); do \
+ $(MAKE) -C $$$$dir $$@; \
+ done
+
+install: trunk-install
+
+$$(RECURSIVE_TARGETS): %:
+ @if [ -z "$$(strip $$(SUBDIRS))" ]; then \
+ echo "SUBDIRS empty -- did you want generic_leaf_install instead?";\
+ exit 1; \
+ fi
+ @set -e; for dir in $$(SUBDIRS); do \
+ $(MAKE) -C $$$$dir $$@; \
+ done
+
+endef
+
+define obj_to_target
+$($(1)_DEPS) := $(2)
+
+$(1): $$(addprefix $(builddir)/,$$(notdir $($(1)_DEPS)))
+ $(LINK.o) $$^ $$(LOADLIBES) $$(LDLIBS) -o $$@
+endef
Index: include/mk/testcases.mk
===================================================================
RCS file: include/mk/testcases.mk
mk/testcases.mk new file +25 -0
@@ -0,0 +1,25 @@ +# +# testcases include Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# + +include $(top_srcdir)/include/mk/master_include.mk + +LDLIBS += -lltp
Index: lib/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/lib/Makefile,v
retrieving revision 1.17
Makefile +40 -5
58 lines not on this page · raw message
Index: lib/ltp.pc
===================================================================
RCS file: /cvsroot/ltp/ltp/lib/ltp.pc,v
retrieving revision 1.1
ltp.pc +2 -2
@@ -1,7 +1,7 @@ -prefix=/opt/ltp +prefix=/scratch/ltp-install4 exec_prefix=${prefix} -libdir=${exec_prefix}/lib includedir=${prefix}/include +libdir=${exec_prefix}/lib Name: LTP Description: Linux Test Project
Index: lib/ltp.pc.in
===================================================================
RCS file: lib/ltp.pc.in
ltp.pc.in new file +11 -0
@@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +includedir=@includedir@ +libdir=@libdir@ + +Name: LTP +Description: Linux Test Project +Version: 1.0 +Libs: -L${libdir} -lltp +Cflags: -I${includedir} +Libs.private: -L${libdir} -lltp
Index: m4/GNUmakefile
===================================================================
RCS file: /cvsroot/ltp/ltp/m4/GNUmakefile,v
retrieving revision 1.1
GNUmakefile +32 -7
@@ -1,12 +1,37 @@ +# +# m4 Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# +srcdir ?= .. -PREFIX=/opt/ltp -M4MACROS=$(notdir $(wildcard *.m4)) +include $(srcdir)/include/mk/master_include.mk -all: +M4MACROS := $(notdir $(wildcard *.m4)) -install: $(M4MACROS) - for i in $(M4MACROS); do \ - install -D -m 644 $$i $(DESTDIR)/$(PREFIX)/share/aclocal/$$i; \ - done +INSTALL_DIR := $(datarootdir)/aclocal +INSTALL_MODE := 00644 + +INSTALL_TARGETS := $(M4_MACROS) + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: m4/ltp-cap.m4
===================================================================
RCS file: m4/ltp-cap.m4
ltp-cap.m4 new file +41 -0
41 lines not on this page · raw message
Index: m4/ltp-crypto.m4
===================================================================
RCS file: /cvsroot/ltp/ltp/m4/ltp-crypto.m4,v
retrieving revision 1.2
ltp-crypto.m4 +2 -2
@@ -4,6 +4,6 @@ dnl AC_DEFUN([LTP_CHECK_CRYPTO], [dnl -AC_CHECK_HEADERS(openssl/sha.h,[CRYPTO_LIB=-lcrypto],[CRYPTO_LIB=]) -AC_SUBST(CRYPTO_LIB) +AC_CHECK_HEADERS(openssl/sha.h,[CRYPTO_LIBS=-lcrypto],[CRYPTO_LIBS=]) +AC_SUBST(CRYPTO_LIBS) ])
Index: m4/ltp-numa.m4
===================================================================
RCS file: m4/ltp-numa.m4
ltp-numa.m4 new file +44 -0
44 lines not on this page · raw message
Index: pan/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/pan/Makefile,v
retrieving revision 1.19
Makefile +28 -6
@@ -1,24 +1,39 @@ +# +# pan Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# + +top_srcdir ?= .. -LOADLIBES += -lm -LFLAGS += -l -w -CFLAGS += -w -PREFIX = /opt/ltp +include $(top_srcdir)/include/mk/master_include.mk -all: ltp-pan ltp-bump ltp-scanner +LDLIBS += -lm -ltp-pan: ltp-pan.o zoolib.o splitstr.o +INSTALL_DIR := bin +MAKE_TARGETS := ltp-bump ltp-pan ltp-scanner ltp-bump: ltp-bump.o zoolib.o +ltp-pan: ltp-pan.o zoolib.o splitstr.o ltp-scanner: scan.o ltp-scanner.o reporter.o tag_report.o symbol.o
splitstr.o debug.o
-
-install: ltp-pan ltp-bump ltp-scanner
- install -D ltp-scanner $(DESTDIR)/$(PREFIX)/bin/ltp-scanner
- install -D ltp-pan $(DESTDIR)/$(PREFIX)/bin/ltp-pan
- install -D ltp-bump $(DESTDIR)/$(PREFIX)/bin/ltp-bump
-
-clean:
- rm -f *.o ltp-pan ltp-bump ltp-scanner
+$(eval $(generic_leaf_target))
Index: runtest/Makefile
===================================================================
RCS file: runtest/Makefile
Makefile new file +33 -0
@@ -0,0 +1,33 @@ +# +# runtest Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# + +top_srcdir ?= .. + +include $(top_srcdir)/include/mk/master_include.mk + +INSTALL_DIR := runtest + +INSTALL_TARGETS := $(filter-out CVS Makefile,$(wildcard *)) + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: runtest/fs
===================================================================
RCS file: /cvsroot/ltp/ltp/runtest/fs,v
retrieving revision 1.26
fs +0 -0
@@ -29,15 +29,15 @@ gf28 growfiles -W gf28 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u gfsparse-2-$$ gf29 growfiles -W gf29 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60 -C
1 -u gfsparse-3-$$
gf30 growfiles -W gf30 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o
O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 gf-sync-$$ -rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$
-rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$
-rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ -rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ -rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/tmp/rwtest01%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$
+rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$
+rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ +rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ +rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/tmp/rwtest01%f
#must be run as root
#iogen01 iogen -i 120s -s read,write 500b:doio.f1.$$ 1000b:doio.f2.$$
| doio -akv -n 2
-iogen01 export LTPROOT; rwtest -N iogen01 -i 120s -s read,write -Da -Dv -n 2 500b:doio.f1.$$ 1000b:doio.f2.$$
+iogen01 export LTPROOT; rwtest.sh -N iogen01 -i 120s -s read,write -Da -Dv -n 2 500b:doio.f1.$$ 1000b:doio.f2.$$
fs_inod01 fs_inod $TMP 10 10 10
linker01 linktest.pl 1000 1000
Index: runtest/io
===================================================================
RCS file: /cvsroot/ltp/ltp/runtest/io,v
retrieving revision 1.4
io +0 -1
@@ -1,3 +1,3 @@ #AIO01 & AIO02 tests to be run aio01 aio01 -aio02 (cd $LTPROOT/testcases/kernel/io/aio/aio02/; ./runfstests.sh
cases/aio_tio)
+aio02 runfstests.sh aio_tio
Index: runtest/ipv6_expect
===================================================================
RCS file: runtest/ipv6_expect
ipv6_expect new file +2 -0
@@ -0,0 +1,2 @@ +#DESCRIPTION:IPV6 related tests which require expect +rlogin6 rlogin01 -6
Index: runtest/ipv6_noexpect
===================================================================
RCS file: /cvsroot/ltp/ltp/runtest/ipv6_noexpect,v retrieving revision 1.12
ipv6_noexpect +10 -10
@@ -1,11 +1,11 @@ #DESCRIPTION:IPV6 related tests that do not require expect -echo6 export TCbin=$LTPROOT/testcases/network/ipv6/echo6;echo601 -finger6 finger601 -ftp6 export TCbin=$LTPROOT/testcases/network/ipv6/ftp6; ftp01 -perf_lan6 export TCbin=$LTPROOT/testcases/network/ipv6/perf_lan6; perf_lan6 -ping6 ping601 -rcp6 export TCbin=$LTPROOT/testcases/network/ipv6/rcp6; rcp01 -rsh6 rsh01 -rwho6 rwho01 -sendfile6 export TCbin=$LTPROOT/testcases/network/ipv6/sendfile6; sendfile60 -tcpdump6 tcpdump601 +echo6 echo01 -6 +finger6 finger01 +ftp6 ftp01 -6 +perf_lan6 perf_lan -6 +ping6 ping01 -6 +rcp6 rcp01 -6 +rsh6 rsh01 -6 +rwho6 rwho01 -6 +sendfile6 sendfile01 -6 +tcpdump6 tcpdump01 -6
Index: runtest/ltp-aiodio.part4
===================================================================
RCS file: /cvsroot/ltp/ltp/runtest/ltp-aiodio.part4,v retrieving revision 1.1
ltp-aiodio.part4 +58 -60
127 lines not on this page · raw message
Index: runtest/ltplite
===================================================================
RCS file: /cvsroot/ltp/ltp/runtest/ltplite,v
retrieving revision 1.21
ltplite +0 -0
@@ -1078,10 +1078,10 @@ #gf28 growfiles -W gf28 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u gfsparse-2-$$ #gf29 growfiles -W gf29 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60 -C
1 -u gfsparse-3-$$
gf30 growfiles -W gf30 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o
O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 gf-sync-$$ -rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$
-rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$
-rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ -rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ -rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/tmp/rwtest01%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$
+rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$
+rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ +rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ +rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/tmp/rwtest01%f
Index: runtest/lvm.part1
===================================================================
RCS file: /cvsroot/ltp/ltp/runtest/lvm.part1,v
retrieving revision 1.5
lvm.part1 +0 -0
@@ -30,11 +30,11 @@ gf128 growfiles -W gf128 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u
/test/growfiles/msdos/gfsparse-2-$$
gf129 growfiles -W gf129 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60
-C 1 -u /test/growfiles/msdos/gfsparse-3-$$
gf130 growfiles -W gf130 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o
O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 /test/growfiles/msdos/gf-sync-$$
-rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/msdos/rwtest01%f -rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/msdos/rwtest02%f -rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/msdos/rwtest03%f
-rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/msdos/rwtest04%f
-rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/msdos/rwtest05%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/msdos/rwtest01%f +rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/msdos/rwtest02%f +rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/msdos/rwtest03%f
+rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/msdos/rwtest04%f
+rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/msdos/rwtest05%f
# Check the Reiserfs filesystem
gf202 growfiles -W gf202 -d /test/growfiles/reiser -b -e 1 -L 10 -i
100 -I p -S 2 -u -f gf03_
gf203 growfiles -W gf203 -d /test/growfiles/reiser -b -e 1 -g 1 -i 1
-S 150 -u -f gf05_
@@ -66,11 +66,11 @@
gf228 growfiles -W gf228 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u
/test/growfiles/reiser/gfsparse-2-$$
gf229 growfiles -W gf229 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60
-C 1 -u /test/growfiles/reiser/gfsparse-3-$$
gf230 growfiles -W gf230 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o
O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 /test/growfiles/reiser/gf-sync-$$
-rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/reiser/rwtest06%f -rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/reiser/rwtest07%f -rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/reiser/rwtest08%f
-rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/reiser/rwtest09%f
-rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/reiser/rwtest10%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/reiser/rwtest06%f +rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/reiser/rwtest07%f
+rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/reiser/rwtest08%f
+rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/reiser/rwtest09%f
+rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/reiser/rwtest10%f
# Check the EXT2 filesystem
gf302 growfiles -W gf302 -d /test/growfiles/ext2 -b -e 1 -L 10 -i 100
-I p -S 2 -u -f gf03_
gf303 growfiles -W gf303 -d /test/growfiles/ext2 -b -e 1 -g 1 -i 1 -S
150 -u -f gf05_
@@ -102,11 +102,11 @@
gf328 growfiles -W gf328 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u
/test/growfiles/ext2/gfsparse-2-$$
gf329 growfiles -W gf329 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60
-C 1 -u /test/growfiles/ext2/gfsparse-3-$$
gf330 growfiles -W gf330 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o
O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 /test/growfiles/ext2/gf-sync-$$
-rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/ext2/rwtest11%f -rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/ext2/rwtest12%f -rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/ext2/rwtest13%f
-rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/ext2/rwtest14%f
-rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/ext2/rwtest15%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/ext2/rwtest11%f +rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/ext2/rwtest12%f +rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/ext2/rwtest13%f
+rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/ext2/rwtest14%f
+rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/ext2/rwtest15%f
# Check an NFS filesystem
gf402 growfiles -W gf402 -d /test/growfiles/nfs -b -e 1 -L 10 -i 100
-I p -S 2 -u -f gf03_
gf403 growfiles -W gf403 -d /test/growfiles/nfs -b -e 1 -g 1 -i 1 -S
150 -u -f gf05_
@@ -138,11 +138,11 @@
gf428 growfiles -W gf428 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u
/test/growfiles/nfs/gfsparse-2-$$
gf429 growfiles -W gf429 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60
-C 1 -u /test/growfiles/nfs/gfsparse-3-$$
gf430 growfiles -W gf430 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o
O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 /test/growfiles/nfs/gf-sync-$$
-rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/nfs/rwtest16%f -rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/nfs/rwtest17%f -rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/nfs/rwtest18%f
-rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/nfs/rwtest19%f
-rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/nfs/rwtest20%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/nfs/rwtest16%f +rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/nfs/rwtest17%f +rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/nfs/rwtest18%f
+rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/nfs/rwtest19%f
+rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/nfs/rwtest20%f
# Check a Ram Disk filesystem
gf502 growfiles -W gf502 -d /test/growfiles/ramdisk -b -e 1 -L 10 -i
100 -I p -S 2 -u -f gf03_
gf503 growfiles -W gf503 -d /test/growfiles/ramdisk -b -e 1 -g 1 -i 1
-S 150 -u -f gf05_
@@ -174,11 +174,11 @@
gf528 growfiles -W gf528 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u
/test/growfiles/ramdisk/gfsparse-2-$$
gf529 growfiles -W gf529 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60
-C 1 -u /test/growfiles/ramdisk/gfsparse-3-$$
gf530 growfiles -W gf530 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o
O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 /test/growfiles/ramdisk/gf-sync-$$
-rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/ramdisk/rwtest21%f -rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/ramdisk/rwtest22%f -rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/ramdisk/rwtest23%f
-rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/ramdisk/rwtest24%f
-rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/ramdisk/rwtest25%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/ramdisk/rwtest21%f +rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/ramdisk/rwtest22%f
+rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/ramdisk/rwtest23%f
+rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/ramdisk/rwtest24%f
+rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/ramdisk/rwtest25%f
# Check the MINIX filesystem
gf602 growfiles -W gf602 -d /test/growfiles/minix -b -e 1 -L 10 -i
100 -I p -S 2 -u -f gf03_
gf603 growfiles -W gf603 -d /test/growfiles/minix -b -e 1 -g 1 -i 1
-S 150 -u -f gf05_
@@ -210,8 +210,8 @@
gf628 growfiles -W gf628 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u
/test/growfiles/minix/gfsparse-2-$$
gf629 growfiles -W gf629 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60
-C 1 -u /test/growfiles/minix/gfsparse-3-$$
gf630 growfiles -W gf630 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o
O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 /test/growfiles/minix/gf-sync-$$
-rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/minix/rwtest26%f -rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/minix/rwtest27%f -rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/minix/rwtest28%f
-rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/minix/rwtest29%f
-rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/minix/rwtest30%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/minix/rwtest26%f +rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/minix/rwtest27%f +rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/minix/rwtest28%f
+rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/minix/rwtest29%f
+rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/minix/rwtest30%f
Index: runtest/lvm.part2
===================================================================
RCS file: /cvsroot/ltp/ltp/runtest/lvm.part2,v
retrieving revision 1.4
lvm.part2 +0 -0
@@ -29,11 +29,11 @@ gf728 growfiles -W gf728 -d /test/growfiles/ext3 -b -D 0 -w -g 16b -C
1 -b -i 1000 -u gfsparse-2-$$
gf729 growfiles -W gf729 -d /test/growfiles/ext3 -b -D 0 -r 1-4096 -R
0-33554432 -i 0 -L 60 -C 1 -u gfsparse-3-$$
gf730 growfiles -W gf730 -d /test/growfiles/ext3 -D 0 -b -i 0 -L 60
-u -B 1000b -e 1 -o O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 gf-sync-$$
-rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/ext3/rwtest11%f -rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/ext3/rwtest12%f -rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/ext3/rwtest13%f
-rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/ext3/rwtest14%f
-rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/ext3/rwtest15%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/ext3/rwtest11%f +rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/ext3/rwtest12%f +rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/ext3/rwtest13%f
+rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/ext3/rwtest14%f
+rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/ext3/rwtest15%f
# Check the JFS filesystem
gf802 growfiles -W gf802 -d /test/growfiles/jfs -b -e 1 -L 10 -i 100
-I p -S 2 -u -f gf03_
gf803 growfiles -W gf803 -d /test/growfiles/jfs -b -e 1 -g 1 -i 1 -S
150 -u -f gf05_
@@ -65,8 +65,8 @@
gf828 growfiles -W gf828 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u
/test/growfiles/jfs/gfsparse-2-$$
gf829 growfiles -W gf829 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60
-C 1 -u /test/growfiles/jfs/gfsparse-3-$$
gf830 growfiles -W gf830 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o
O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 /test/growfiles/jfs/gf-sync-$$
-rwtest11 export LTPROOT; rwtest -N rwtest11 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/jfs/rwtest11%f -rwtest12 export LTPROOT; rwtest -N rwtest12 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/jfs/rwtest12%f -rwtest13 export LTPROOT; rwtest -N rwtest13 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/jfs/rwtest13%f
-rwtest14 export LTPROOT; rwtest -N rwtest14 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/jfs/rwtest14%f
-rwtest15 export LTPROOT; rwtest -N rwtest15 -c -q -i 50 -T 64b 500b:/test/growfiles/jfs/rwtest15%f
+rwtest11 export LTPROOT; rwtest.sh -N rwtest11 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/jfs/rwtest11%f +rwtest12 export LTPROOT; rwtest.sh -N rwtest12 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/jfs/rwtest12%f +rwtest13 export LTPROOT; rwtest.sh -N rwtest13 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/jfs/rwtest13%f
+rwtest14 export LTPROOT; rwtest.sh -N rwtest14 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/jfs/rwtest14%f
+rwtest15 export LTPROOT; rwtest.sh -N rwtest15 -c -q -i 50 -T 64b 500b:/test/growfiles/jfs/rwtest15%f
Index: runtest/scsi_debug.part1
===================================================================
RCS file: /cvsroot/ltp/ltp/runtest/scsi_debug.part1,v retrieving revision 1.3
scsi_debug.part1 +0 -3
@@ -31,11 +31,11 @@ gf228 growfiles -W gf228 -d /test/growfiles/reiser -b -D 0 -w -g 16b -C 1 -b -i 1000 -u gfsparse-2-$$ gf229 growfiles -W gf229 -d /test/growfiles/reiser -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60 -C 1 -u gfsparse-3-$$ gf230 growfiles -W gf230 -d /test/growfiles/reiser -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480
gf-sync-$$
-rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/reiser/rwtest06%f -rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/reiser/rwtest07%f -rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/reiser/rwtest08%f
-rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/reiser/rwtest09%f
-rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/reiser/rwtest10%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/reiser/rwtest06%f +rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/reiser/rwtest07%f
+rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/reiser/rwtest08%f
+rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/reiser/rwtest09%f
+rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/reiser/rwtest10%f
# Check the EXT2 filesystem
gf301 growfiles -W gf301 -d /test/growfiles/ext2 -b -e 1 -u -i 0 -L
20 -w -C 1 -l -I r -T 10 glseek20 glseek20.2
gf302 growfiles -W gf302 -d /test/growfiles/ext2 -b -e 1 -L 10 -i 100
-I p -S 2 -u -f gf03_
@@ -67,11 +67,11 @@
gf328 growfiles -W gf328 -d /test/growfiles/ext2 -b -D 0 -w -g 16b -C
1 -b -i 1000 -u gfsparse-2-$$
gf329 growfiles -W gf329 -d /test/growfiles/ext2 -b -D 0 -r 1-4096 -R
0-33554432 -i 0 -L 60 -C 1 -u gfsparse-3-$$
gf330 growfiles -W gf330 -d /test/growfiles/ext2 -D 0 -b -i 0 -L 60
-u -B 1000b -e 1 -o O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 gf-sync-$$
-rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/ext2/rwtest11%f -rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/ext2/rwtest12%f -rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/ext2/rwtest13%f
-rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/ext2/rwtest14%f
-rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/ext2/rwtest15%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/ext2/rwtest11%f +rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/ext2/rwtest12%f +rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/ext2/rwtest13%f
+rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/ext2/rwtest14%f
+rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/ext2/rwtest15%f
# Check the EXT3 filesystem
gf701 growfiles -W gf701 -d /test/growfiles/ext3 -b -e 1 -u -i 0 -L
20 -w -C 1 -l -I r -T 10 glseek20 glseek20.2gf702 growfiles -W gf702 -d /test/growfiles/ext3 -b -e 1 -L 10 -i 100 -I p -S 2 -u -f gf03_
gf703 growfiles -W gf703 -d /test/growfiles/ext3 -b -e 1 -g 1 -i 1 -S
150 -u -f gf05_
@@ -102,11 +102,11 @@
gf728 growfiles -W gf728 -d /test/growfiles/ext3 -b -D 0 -w -g 16b -C
1 -b -i 1000 -u gfsparse-2-$$
gf729 growfiles -W gf729 -d /test/growfiles/ext3 -b -D 0 -r 1-4096 -R
0-33554432 -i 0 -L 60 -C 1 -u gfsparse-3-$$
gf730 growfiles -W gf730 -d /test/growfiles/ext3 -D 0 -b -i 0 -L 60
-u -B 1000b -e 1 -o O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 gf-sync-$$
-rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/ext3/rwtest11%f -rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/ext3/rwtest12%f -rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/ext3/rwtest13%f
-rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/ext3/rwtest14%f
-rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/ext3/rwtest15%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/ext3/rwtest11%f +rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/ext3/rwtest12%f +rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/ext3/rwtest13%f
+rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/ext3/rwtest14%f
+rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/ext3/rwtest15%f
# Check the MSDOS filesystem
gf101 growfiles -W gf101 -d /test/growfiles/msdos -b -e 1 -u -i 0 -L
20 -w -C 1 -l -I r -T 10 glseek20 glseek20.2
gf102 growfiles -W gf102 -d /test/growfiles/msdos -b -e 1 -L 10 -i
100 -I p -S 2 -u -f gf03_
@@ -138,11 +138,11 @@
gf128 growfiles -W gf128 -d /test/growfiles/msdos -b -D 0 -w -g 16b
-C 1 -b -i 1000 -u gfsparse-2-$$
gf129 growfiles -W gf129 -d /test/growfiles/msdos -b -D 0 -r 1-4096
-R 0-33554432 -i 0 -L 60 -C 1 -u gfsparse-3-$$
gf130 growfiles -W gf130 -d /test/growfiles/msdos -D 0 -b -i 0 -L 60
-u -B 1000b -e 1 -o O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 gf-sync-$$
-rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/msdos/rwtest01%f -rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/msdos/rwtest02%f -rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/msdos/rwtest03%f
-rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/msdos/rwtest04%f
-rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/msdos/rwtest05%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/msdos/rwtest01%f +rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/msdos/rwtest02%f +rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/msdos/rwtest03%f
+rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/msdos/rwtest04%f
+rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/msdos/rwtest05%f
# Check the Reiserfs filesystem
gf201 growfiles -W gf201 -d /test/growfiles/reiser -b -e 1 -u -i 0 -L
20 -w -C 1 -l -I r -T 10 glseek20 glseek20.2
gf202 growfiles -W gf202 -d /test/growfiles/reiser -b -e 1 -L 10 -i
100 -I p -S 2 -u -f gf03_
@@ -174,9 +174,9 @@
gf228 growfiles -W gf228 -d /test/growfiles/reiser -b -D 0 -w -g 16b
-C 1 -b -i 1000 -u gfsparse-2-$$
gf229 growfiles -W gf229 -d /test/growfiles/reiser -b -D 0 -r 1-4096
-R 0-33554432 -i 0 -L 60 -C 1 -u gfsparse-3-$$
gf230 growfiles -W gf230 -d /test/growfiles/reiser -D 0 -b -i 0 -L 60
-u -B 1000b -e 1 -o O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 gf-sync-$$
-rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/reiser/rwtest06%f -rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/reiser/rwtest07%f -rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/reiser/rwtest08%f
-rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/reiser/rwtest09%f
-rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/reiser/rwtest10%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ 500b:/test/growfiles/reiser/rwtest06%f +rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ 500b:/test/growfiles/reiser/rwtest07%f
+rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ 500b:/test/growfiles/reiser/rwtest08%f
+rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ 500b:/test/growfiles/reiser/rwtest09%f
+rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/test/growfiles/reiser/rwtest10%f
Index: runtest/stress.part1
===================================================================
RCS file: /cvsroot/ltp/ltp/runtest/stress.part1,v
retrieving revision 1.10
stress.part1 +0 -0
@@ -145,15 +145,15 @@ gf28 growfiles -W gf28 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u gfsparse-2-$$ gf29 growfiles -W gf29 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60 -C
1 -u gfsparse-3-$$
gf30 growfiles -W gf30 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o
O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 gf-sync-$$ -rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$
-rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$
-rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ -rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ -rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/tmp/rwtest01%f
+rwtest01 export LTPROOT; rwtest.sh -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$
+rwtest02 export LTPROOT; rwtest.sh -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$
+rwtest03 export LTPROOT; rwtest.sh -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ +rwtest04 export LTPROOT; rwtest.sh -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ +rwtest05 export LTPROOT; rwtest.sh -N rwtest05 -c -q -i 50 -T 64b 500b:/tmp/rwtest01%f
#must be run as root
#iogen01 iogen -i 120s -s read,write 500b:doio.f1.$$ 1000b:doio.f2.$$
| doio -akv -n 2
-iogen01 export LTPROOT; rwtest -N iogen01 -i 120s -s read,write -Da -Dv -n 2 500b:doio.f1.$$ 1000b:doio.f2.$$
+iogen01 export LTPROOT; rwtest.sh -N iogen01 -i 120s -s read,write -Da -Dv -n 2 500b:doio.f1.$$ 1000b:doio.f2.$$
fs_inod01 fs_inod $TMP 10 10 1
linker01 linktest.pl
Index: runtest/stress.part3
===================================================================
RCS file: /cvsroot/ltp/ltp/runtest/stress.part3,v
retrieving revision 1.66
stress.part3 +0 -0
@@ -883,5 +883,5 @@ mc_opts export TCsrc=$LTPROOT/testcases/network/multicast/mc_opts; mc_opts rpc01 export TCbin=$LTPROOT/testcases/network/rpc/basic_tests/rpc01; rpc01 run_rpc_tests.sh export
TCbin=$LTPROOT/testcases/network/rpc/rpc-tirpc-full-test-suite; run_rpc_tests.sh
-perf_lan export TCbin=$LTPROOT/testcases/network/tcp_cmds/perf_lan; perf_lan +perf_lan perf_lan
Index: runtest/tcp_cmds_expect
===================================================================
RCS file: runtest/tcp_cmds_expect
tcp_cmds_expect new file +8 -0
@@ -0,0 +1,8 @@ +#DESCRIPTION:TCP/IP commands tests that require expect +# +# PLEASE READ THE README FILE IN /tcp_cmds BEFORE RUNNING THESE. +# +rlogin rlogin01 +telnet telnet01 +iptables iptables_tests.sh +dhcpd dhcpd_tests.sh
Index: runtest/tcp_cmds_noexpect
===================================================================
RCS file: /cvsroot/ltp/ltp/runtest/tcp_cmds_noexpect,v retrieving revision 1.3
tcp_cmds_noexpect +6 -6
@@ -3,16 +3,16 @@ # PLEASE READ THE README FILE IN /tcp_cmds BEFORE RUNNING THESE. # arp arp01 -echo export TCbin=$LTPROOT/testcases/network/tcp_cmds/echo; echo01 +echo echo01 finger finger01 -ftp export TCbin=$LTPROOT/testcases/network/tcp_cmds/ftp; ftp01 +ftp ftp01 host host01 netstat netstat01 -perf_lan export TCbin=$LTPROOT/testcases/network/tcp_cmds/perf_lan; perf_lan +perf_lan perf_lan ping ping01 -rcp export TCbin=$LTPROOT/testcases/network/tcp_cmds/rcp; rcp01 -rdist export TCbin=$LTPROOT/testcases/network/tcp_cmds/rdist; rdist01 +rcp rcp01 +rdist rdist01 rsh rsh01 rwho rwho01 -sendfile export TCbin=$LTPROOT/testcases/network/tcp_cmds/sendfile; sendfile01 +sendfile sendfile01 tcpdump tcpdump01
Index: testcases/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/Makefile,v
retrieving revision 1.16
Makefile +0 -2
@@ -1,21 +1,87 @@ - SUBDIRS = `ls */Makefile | sed "s/Makefile//g" | grep -v open | grep -v pounder | grep -v DOTS | grep -v kdump | grep -v realtime | grep -v
audit-test`
-UCLINUX_SUBDIRS = kernel
-all:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done
+#
+# testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- mkdir -p bin
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done
+top_srcdir ?= ..
+
+include $(top_srcdir)/include/mk/master_include.mk +
+.PHONY: bin-clean install-testcases-bin
+
+FILTER_OUT_DIRS := pounder21
-uclinux:
- @set -e; for i in $(UCLINUX_SUBDIRS); do $(MAKE) -C $$i uclinux; done
+ifneq ($(UCLINUX),1)
+FILTER_OUT_DIRS += audit-test DOTS kdump open% realtime
+else
+SUBDIRS := kernel
+endif
-uclinux_install:
+INSTALL_DIR := testcases/bin
+
+# NUKE THE FOLLOWING CODE ONCE ALL LEAF CALLERS HAVE BEEN FIXED. +#
+# XXX (garrcoop):
+#
+# bin, bin-clean, and install-testcases-bin are only here for compatibility +# until all of the Makefiles properly install files in $(DESTDIR)/$(prefix)/... +# using master_rules.mk, and similar behavior is properly emulated in the +# top-level Makefiles for larger components (ballista and open_posix_testsuite +# for instance).
+#
+$(eval $(get_make_dirs))
+
+trunk-all:
mkdir -p bin
- @set -e; for i in $(UCLINUX_SUBDIRS); \
- do $(MAKE) -C $$i uclinux_install ; done
-clean:
- rm -rf bin/
- @set -e; for i in $(SUBDIRS) ; do $(MAKE) -C $$i clean ; done
+trunk-clean::
+ $(RM) -Rf bin
+
+# Don't bother doing the wildcard and generate the following rules if we're +# not installing anything.
+ifeq ($(MAKECMDGOALS),install)
+
+TC_BIN_INSTALL_FILES := $(wildcard bin/*)
+
+.PHONY: install-testcases-bin recursive-install
+
+install-testcases-bin: $(TC_BIN_INSTALL_FILES)
+
+install: | recursive-install install-testcases-bin
+
+lib-install:
+ $(MAKE) -C lib install
+
+recursive-install: lib-install
+ set -e; for dir in $(SUBDIRS); do \
+ $(MAKE) -C $$dir install; \
+ done
+
+define backwards_compat_install +$(DESTDIR)/$(prefix)/$(INSTALL_DIR)/$(notdir $(1)): $(1)
+ install -m 00755 "$$^" "$$@"
+endef
+
+$(foreach tc_bin_install_file,$(eval $(call backwards_compat_install,$(tc_bin_install_file))),$(TC_BIN_INSTALL_FILES)) +endif
+
+# END CODE TO NUKE.
+$(eval $(generic_trunk_target))
Index: testcases/commands/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/Makefile,v retrieving revision 1.11
commands/Makefile +24 -9
@@ -1,12 +1,27 @@ -#SUBDIRS = `ls */Makefile | sed "s/Makefile//g" | grep -v at | grep -v unzip` -SUBDIRS = `ls */Makefile | sed "s/Makefile//g"` +# +# commands test suite Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -all: - @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done +top_srcdir ?= ../.. -install: - @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done - -clean: - @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean ; done +include $(top_srcdir)/include/mk/master_include.mk +$(eval $(generic_trunk_target))
Index: testcases/commands/ade/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/ade/Makefile,v retrieving revision 1.3
commands/ade/Makefile +24 -7
@@ -1,10 +1,27 @@ -SUBDIRS = ar objdump size ld ldd nm file +# +# commands/ade test suite Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -all: - @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done +top_srcdir ?= ../../.. -install: - @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done +include $(top_srcdir)/include/mk/master_include.mk -clean: - @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean ; done +$(eval $(generic_trunk_target))
Index: testcases/commands/ade/ar/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/ade/ar/Makefile,v retrieving revision 1.7
commands/ade/ar/Makefile +34 -16
54 lines not on this page · raw message
Index: testcases/commands/ade/file/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/ade/file/Makefile,v retrieving revision 1.3
commands/ade/file/Makefile +28 -4
@@ -1,7 +1,31 @@ -all: +# +# commands/ade/file testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -install: - @ln -f file_test.sh ../../../bin/ +top_srcdir ?= ../../../.. -clean: +include $(top_srcdir)/include/mk/master_include.mk +INSTALL_TARGETS := file_test.sh + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: testcases/commands/ade/ld/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/ade/ld/Makefile,v retrieving revision 1.5
commands/ade/ld/Makefile +34 -12
50 lines not on this page · raw message
Index: testcases/commands/ade/ldd/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/ade/ldd/Makefile,v retrieving revision 1.6
commands/ade/ldd/Makefile +34 -10
48 lines not on this page · raw message
Index: testcases/commands/ade/nm/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/ade/nm/Makefile,v retrieving revision 1.4
commands/ade/nm/Makefile +32 -13
49 lines not on this page · raw message
Index: testcases/commands/ade/objdump/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/ade/objdump/Makefile,v retrieving revision 1.4
commands/ade/objdump/Makefile +38 -18
60 lines not on this page · raw message
Index: testcases/commands/ade/objdump/test.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/ade/objdump/test.c,v retrieving revision 1.1
commands/ade/objdump/test.c +3 -10
@@ -1,20 +1,15 @@ +#include <stdio.h> -int main () +int main (void ) {int i=0 ; - -for ( i=0 ; i<10 ; i++) - { - +for (i=0 ; i<10 ; i++) {if ( i %2 ) -printf (" Hello \n " ); -else printf ("World \n" ); - }printf (" the end \n" );
@@ -22,5 +17,3 @@return 0 ; } - -
Index: testcases/commands/ade/size/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/ade/size/Makefile,v retrieving revision 1.2
commands/ade/size/Makefile +25 -12
@@ -1,16 +1,29 @@ -CFLAGS += -w -O -LDFLAGS += +# +# commands/ade/size testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -SRCS=$(wildcard *.c) -TARGETS=$(patsubst %.c,%,$(SRCS)) - -all: $(TARGETS) - -install: - ln -f size01 ../../../bin - -clean: - rm -f $(TARGETS) +top_srcdir ?= ../../../.. +include $(top_srcdir)/include/mk/master_include.mk +INSTALL_TARGETS := size01 +$(eval $(generic_leaf_target))
Index: testcases/commands/ade/size/test.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/ade/size/test.c,v retrieving revision 1.1
commands/ade/size/test.c +2 -8
@@ -1,20 +1,16 @@ +#include <stdio.h> -int main () +int main (void ) {int i=0 ; -for ( i=0 ; i<10 ; i++) { -if ( i %2 ) -printf (" Hello \n " ); -else printf ("World \n" ); - }printf (" the end \n" );
@@ -22,5 +18,3 @@return 0 ; } - -
Index: testcases/commands/at/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/at/Makefile,v retrieving revision 1.1
commands/at/Makefile +30 -5
@@ -1,6 +1,31 @@ -all: +# +# commands/at testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -install: - ln -f at_deny01 ../../bin/ - ln -f at_allow01 ../../bin/ -clean: +top_srcdir ?= ../../.. + +include $(top_srcdir)/include/mk/master_include.mk + +INSTALL_TARGETS := at_allow01 at_deny01 + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: testcases/commands/cpio/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/cpio/Makefile,v retrieving revision 1.1
commands/cpio/Makefile +29 -4
@@ -1,6 +1,31 @@ -all: +# +# commands/cpio testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -install: - @ln -f cpio_tests.sh ../../bin/cpio_tests.sh +top_srcdir ?= ../../.. -clean: +include $(top_srcdir)/include/mk/master_include.mk + +INSTALL_TARGETS := cpio_tests.sh + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: testcases/commands/cron/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/cron/Makefile,v retrieving revision 1.6
commands/cron/Makefile +24 -17
44 lines not on this page · raw message
cron_allow01 cron_deny01 cron_dirs_checks01 $(wildcard $(srcdir)/*.sh) +
+$(eval $(generic_leaf_target))
Index: testcases/commands/eject/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/eject/Makefile,v retrieving revision 1.7
commands/eject/Makefile +25 -10
@@ -1,14 +1,29 @@ -CFLAGS+= -I../../../include -Wall -LOADLIBES+= -L../../../lib +# +# commands/eject testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -SRCS=$(wildcard *.c) -TARGETS=$(patsubst %.c,%,$(SRCS)) +top_srcdir ?= ../../.. -all: $(TARGETS) +include $(top_srcdir)/include/mk/testcases.mk -install: - @set -e; for i in $(TARGETS); do ln -f $$i ../../bin/$$i ; done - @ln -f eject-tests.sh ../../bin/eject_tests.sh +INSTALL_TARGETS := eject-tests.sh -clean: - rm -f $(TARGETS) +$(eval $(generic_leaf_target))
Index: testcases/commands/fileutils/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/fileutils/Makefile,v retrieving revision 1.5
commands/fileutils/Makefile +24 -6
@@ -1,9 +1,27 @@ -SUBDIRS = cp mv mkdir ln +# +# commands/fileutils test suite Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -all: +top_srcdir ?= ../../.. -install: - @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done - -clean: +include $(top_srcdir)/include/mk/master_include.mk +$(eval $(generic_trunk_target))
Index: testcases/commands/fileutils/cp/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/fileutils/cp/Makefile,v retrieving revision 1.2
commands/fileutils/cp/Makefile +28 -4
@@ -1,7 +1,31 @@ -all: +# +# commands/fileutils/cp testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -install: - @ln -f cp_tests.sh ../../../bin/ +top_srcdir ?= ../../../.. -clean: +include $(top_srcdir)/include/mk/master_include.mk +INSTALL_TARGETS := cp_tests.sh + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: testcases/commands/fileutils/ln/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/fileutils/ln/Makefile,v retrieving revision 1.2
commands/fileutils/ln/Makefile +28 -4
@@ -1,7 +1,31 @@ -all: +# +# commands/fileutils/ln testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -install: - @ln -f ln_tests.sh ../../../bin/ +top_srcdir ?= ../../../.. -clean: +include $(top_srcdir)/include/mk/master_include.mk +INSTALL_TARGETS := ln_tests.sh + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: testcases/commands/fileutils/mkdir/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/fileutils/mkdir/Makefile,v retrieving revision 1.2
commands/fileutils/mkdir/Makefile +28 -4
@@ -1,7 +1,31 @@ -all: +# +# commands/fileutils/mkdir testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -install: - @ln -f mkdir_tests.sh ../../../bin/ +top_srcdir ?= ../../../.. -clean: +include $(top_srcdir)/include/mk/master_include.mk +INSTALL_TARGETS := mkdir_tests.sh + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: testcases/commands/fileutils/mv/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/fileutils/mv/Makefile,v retrieving revision 1.2
commands/fileutils/mv/Makefile +28 -4
@@ -1,7 +1,31 @@ -all: +# +# commands/fileutils/mv testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -install: - @ln -f mv_tests.sh ../../../bin/ +top_srcdir ?= ../../../.. -clean: +include $(top_srcdir)/include/mk/master_include.mk +INSTALL_TARGETS := mv_tests.sh + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: testcases/commands/gzip/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/gzip/Makefile,v retrieving revision 1.1
commands/gzip/Makefile +29 -4
@@ -1,6 +1,31 @@ -all: +# +# commands/gzip testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -install: - @ln -f gzip_tests.sh ../../bin/gzip_tests.sh +top_srcdir ?= ../../.. -clean: +include $(top_srcdir)/include/mk/master_include.mk + +INSTALL_TARGETS := gzip_tests.sh + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: testcases/commands/logrotate/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/logrotate/Makefile,v retrieving revision 1.2
commands/logrotate/Makefile +29 -4
@@ -1,6 +1,31 @@ -all: +# +# commands/logrotate testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -install: - @ln -f logrotate_tests.sh ../../bin/logrotate_tests.sh +top_srcdir ?= ../../.. -clean: +include $(top_srcdir)/include/mk/master_include.mk + +INSTALL_TARGETS := logrotate_tests.sh + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: testcases/commands/mail/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/mail/Makefile,v retrieving revision 1.3
commands/mail/Makefile +29 -4
@@ -1,6 +1,31 @@ -all: +# +# commands/mail testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -install: - @ln -f mail_tests.sh ../../bin/mail_tests.sh +top_srcdir ?= ../../.. -clean: +include $(top_srcdir)/include/mk/master_include.mk + +INSTALL_TARGETS := mail_tests.sh + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: testcases/commands/su/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/su/Makefile,v retrieving revision 1.1
commands/su/Makefile +30 -6
@@ -1,7 +1,31 @@ -all: +# +# commands/su testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -install: - ln -f su01 ../../bin - ln -f su01_s1 ../../bin - ln -f su_set_passwd ../../bin -clean: +top_srcdir ?= ../../.. + +include $(top_srcdir)/include/mk/master_include.mk + +INSTALL_TARGETS := su01 su01_s1 su_set_passwd + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: testcases/commands/tar/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tar/Makefile,v retrieving revision 1.2
commands/tar/Makefile +29 -4
@@ -1,6 +1,31 @@ -all: +# +# commands/tar testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -install: - @ln -f tar_tests.sh ../../bin/tar_tests.sh +top_srcdir ?= ../../.. -clean: +include $(top_srcdir)/include/mk/master_include.mk + +INSTALL_TARGETS := tar_tests.sh + +MAKE_TARGETS := + +$(eval $(generic_leaf_target))
Index: testcases/commands/tpm-tools/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/Makefile,v retrieving revision 1.1
commands/tpm-tools/Makefile +24 -6
@@ -1,9 +1,27 @@ -SUBDIRS = tpm tpmtoken +# +# commands/tpm_tools testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -all: +top_srcdir ?= ../../.. -install: - @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done - -clean: +include $(top_srcdir)/include/mk/master_include.mk +$(eval $(generic_trunk_target))
Index: testcases/commands/tpm-tools/tpm/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpm/Makefile,v retrieving revision 1.1
commands/tpm-tools/tpm/Makefile +24 -12
@@ -1,15 +1,27 @@ -SUBDIRS = tpm_selftest \ - tpm_version \ - tpm_getpubek \ - tpm_takeownership \ - tpm_restrictpubek \ - tpm_changeauth \ - tpm_clear +# +# commands/tpm-tools/tpm test suite Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -all: +top_srcdir ?= ../../../.. -install: - @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done - -clean: +include $(top_srcdir)/include/mk/master_include.mk +$(eval $(generic_trunk_target))
Index: testcases/commands/tpm-tools/tpm/tpm_changeauth/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpm/tpm_changeauth/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpm/tpm_changeauth/Makefile 12 Sep
2005 22:28:57 -0000 1.1
+++ testcases/commands/tpm-tools/tpm/tpm_changeauth/Makefile 19 Aug
2009 03:15:06 -0000
@@ -1,10 +1,31 @@
-all:
+#
+# commands/tpm-tools/tpm/tpm_changeauth testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- @ln -f tpm_changeauth_tests.sh ../../../../bin/
- @ln -f tpm_changeauth_tests_exp01.sh ../../../../bin/
- @ln -f tpm_changeauth_tests_exp02.sh ../../../../bin/
- @ln -f tpm_changeauth_tests_exp03.sh ../../../../bin/
+top_srcdir ?= ../../../../..
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+INSTALL_TARGETS := $(wildcard $(srcdir)/*.sh)
+
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/commands/tpm-tools/tpm/tpm_clear/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpm/tpm_clear/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpm/tpm_clear/Makefile 12 Sep 2005
22:28:57 -0000 1.1
+++ testcases/commands/tpm-tools/tpm/tpm_clear/Makefile 19 Aug 2009
03:15:06 -0000
@@ -1,8 +1,31 @@
-all:
+#
+# commands/tpm-tools/tpm/tpm_clear testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- @ln -f tpm_clear_tests.sh ../../../../bin/
- @ln -f tpm_clear_tests_exp01.sh ../../../../bin/
+top_srcdir ?= ../../../../..
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+INSTALL_TARGETS := $(wildcard $(srcdir)/*.sh)
+
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/commands/tpm-tools/tpm/tpm_getpubek/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpm/tpm_getpubek/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpm/tpm_getpubek/Makefile 12 Sep 2005
22:28:57 -0000 1.1
+++ testcases/commands/tpm-tools/tpm/tpm_getpubek/Makefile 19 Aug 2009
03:15:06 -0000
@@ -1,8 +1,31 @@
-all:
+#
+# commands/tpm-tools/tpm/tpm_getpubek testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- @ln -f tpm_getpubek_tests.sh ../../../../bin/
- @ln -f tpm_getpubek_tests_exp01.sh ../../../../bin/
+top_srcdir ?= ../../../../..
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+INSTALL_TARGETS := $(wildcard $(srcdir)/*.sh)
+
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/commands/tpm-tools/tpm/tpm_restrictpubek/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpm/tpm_restrictpubek/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpm/tpm_restrictpubek/Makefile 12 Sep
2005 22:28:57 -0000 1.1
+++ testcases/commands/tpm-tools/tpm/tpm_restrictpubek/Makefile 19 Aug
2009 03:15:06 -0000
@@ -1,10 +1,31 @@
-all:
+#
+# commands/tpm-tools/tpm/tpm_restrictpubek testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- @ln -f tpm_restrictpubek_tests.sh ../../../../bin/
- @ln -f tpm_restrictpubek_tests_exp01.sh ../../../../bin/
- @ln -f tpm_restrictpubek_tests_exp02.sh ../../../../bin/
- @ln -f tpm_restrictpubek_tests_exp03.sh ../../../../bin/
+top_srcdir ?= ../../../../..
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+INSTALL_TARGETS := $(wildcard $(srcdir)/*.sh)
+
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/commands/tpm-tools/tpm/tpm_selftest/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpm/tpm_selftest/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpm/tpm_selftest/Makefile 12 Sep 2005
22:28:57 -0000 1.1
+++ testcases/commands/tpm-tools/tpm/tpm_selftest/Makefile 19 Aug 2009
03:15:06 -0000
@@ -1,7 +1,31 @@
-all:
+#
+# commands/tpm-tools/tpm/tpm_selftest testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- @ln -f tpm_selftest_tests.sh ../../../../bin/
+top_srcdir ?= ../../../../..
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+INSTALL_TARGETS := $(wildcard $(srcdir)/*.sh)
+
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/commands/tpm-tools/tpm/tpm_takeownership/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpm/tpm_takeownership/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpm/tpm_takeownership/Makefile 12 Sep
2005 22:28:58 -0000 1.1
+++ testcases/commands/tpm-tools/tpm/tpm_takeownership/Makefile 19 Aug
2009 03:15:06 -0000
@@ -1,8 +1,31 @@
-all:
+#
+# commands/tpm-tools/tpm/tpm_takeownership testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- @ln -f tpm_takeownership_tests.sh ../../../../bin/
- @ln -f tpm_takeownership_tests_exp01.sh ../../../../bin/
+top_srcdir ?= ../../../../..
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+INSTALL_TARGETS := $(wildcard $(srcdir)/*.sh)
+
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/commands/tpm-tools/tpm/tpm_version/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpm/tpm_version/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpm/tpm_version/Makefile 12 Sep 2005
22:28:58 -0000 1.1
+++ testcases/commands/tpm-tools/tpm/tpm_version/Makefile 19 Aug 2009
03:15:06 -0000
@@ -1,7 +1,31 @@
-all:
+#
+# commands/tpm-tools/tpm/tpm_version testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- @ln -f tpm_version_tests.sh ../../../../bin/
+top_srcdir ?= ../../../../..
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+INSTALL_TARGETS := $(wildcard $(srcdir)/*.sh)
+
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/commands/tpm-tools/tpmtoken/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpmtoken/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpmtoken/Makefile 12 Sep 2005
22:28:58 -0000 1.1
+++ testcases/commands/tpm-tools/tpmtoken/Makefile 19 Aug 2009 03:15:06 -0000
@@ -1,13 +1,27 @@
-SUBDIRS = tpmtoken_init \
- tpmtoken_setpasswd \
- tpmtoken_import \
- tpmtoken_protect \
- tpmtoken_objects
+#
+# commands/tpm-tools/tpmtoken test suite Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-all:
+top_srcdir ?= ../../../..
-install:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done
-
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+$(eval $(generic_trunk_target))
Index: testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/Makefile 12
Sep 2005 22:28:58 -0000 1.1
+++ testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,16 +1,31 @@
-all:
+#
+# commands/tpm-tools/tpmtoken/tpmtoken_import testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- @ln -f tpmtoken_import_tests.sh ../../../../bin/
- @ln -f tpmtoken_import_tests_exp01.sh ../../../../bin/
- @ln -f tpmtoken_import_tests_exp02.sh ../../../../bin/
- @ln -f tpmtoken_import_tests_exp03.sh ../../../../bin/
- @ln -f tpmtoken_import_tests_exp04.sh ../../../../bin/
- @ln -f tpmtoken_import_tests_exp05.sh ../../../../bin/
- @ln -f tpmtoken_import_tests_exp06.sh ../../../../bin/
- @ln -f tpmtoken_import_tests_exp07.sh ../../../../bin/
- @ln -f tpmtoken_import_tests_exp08.sh ../../../../bin/
- @ln -f tpmtoken_import_openssl.cnf ../../../../bin/
+top_srcdir ?= ../../../../..
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+INSTALL_TARGETS := $(wildcard $(srcdir)/*.sh)
+
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/Makefile 12
Sep 2005 22:28:58 -0000 1.1
+++ testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,11 +1,31 @@
-all:
+#
+# commands/tpm-tools/tpmtoken/tpmtoken_init testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- @ln -f tpmtoken_init_tests.sh ../../../../bin/
- @ln -f tpmtoken_init_tests_exp00.sh ../../../../bin/
- @ln -f tpmtoken_init_tests_exp01.sh ../../../../bin/
- @ln -f tpmtoken_init_tests_exp02.sh ../../../../bin/
- @ln -f tpmtoken_init_tests_exp03.sh ../../../../bin/
+top_srcdir ?= ../../../../..
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+INSTALL_TARGETS := $(wildcard $(srcdir)/*.sh)
+
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/Makefile 12
Sep 2005 22:28:58 -0000 1.1
+++ testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,8 +1,31 @@
-all:
+#
+# commands/tpm-tools/tpmtoken/tpmtoken_objects testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- @ln -f tpmtoken_objects_tests.sh ../../../../bin/
- @ln -f tpmtoken_objects_tests_exp01.sh ../../../../bin/
+top_srcdir ?= ../../../../..
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+INSTALL_TARGETS := $(wildcard $(srcdir)/*.sh)
+
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/Makefile 12
Sep 2005 22:28:58 -0000 1.1
+++ testcases/commands/tpm-tools/tpmtoken/tpmtoken_protect/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,10 +1,31 @@
-all:
+#
+# commands/tpm-tools/tpmtoken/tpmtoken_protect testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- @ln -f tpmtoken_protect_tests.sh ../../../../bin/
- @ln -f tpmtoken_protect_tests_exp01.sh ../../../../bin/
- @ln -f tpmtoken_protect_tests_exp02.sh ../../../../bin/
- @ln -f tpmtoken_protect_data.txt ../../../../bin/
+top_srcdir ?= ../../../../..
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+INSTALL_TARGETS := $(wildcard $(srcdir)/*.sh)
+
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/Makefile 12
Sep 2005 22:28:58 -0000 1.1
+++ testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,11 +1,31 @@
-all:
+#
+# commands/tpm-tools/tpmtoken/tpmtoken_setpasswd testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-install:
- @ln -f tpmtoken_setpasswd_tests.sh ../../../../bin/
- @ln -f tpmtoken_setpasswd_tests_exp01.sh ../../../../bin/
- @ln -f tpmtoken_setpasswd_tests_exp02.sh ../../../../bin/
- @ln -f tpmtoken_setpasswd_tests_exp03.sh ../../../../bin/
- @ln -f tpmtoken_setpasswd_tests_exp04.sh ../../../../bin/
+top_srcdir ?= ../../../../..
-clean:
+include $(top_srcdir)/include/mk/master_include.mk
+INSTALL_TARGETS := $(wildcard $(srcdir)/*.sh)
+
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/commands/unzip/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/unzip/Makefile,v retrieving revision 1.7
commands/unzip/Makefile +28 -9
@@ -1,28 +1,49 @@ -# Only build and install if we have the zip and unzip commands -HAVE_ZIPTOOLS=$(shell which zip >/dev/null 2>&1\ - && which unzip >/dev/null 2>&1 && echo t) -ifeq ($(HAVE_ZIPTOOLS),t) -BINS := unzip_tests.sh -DEPS := tst_unzip_file.zip $(BINS) -else -BINS := -DEPS := +# +# commands/unzip testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# + +top_srcdir ?= ../../.. + +include $(top_srcdir)/include/mk/master_include.mk + +# Only build and install if we have the zip command. +HAVE_ZIPTOOLS := $(shell if which zip >/dev/null; then echo yes;
else echo no; fi)
+
+DIR := tst_unzip.dir
+
+MAKE_TARGETS :=
+
+ifeq ($(HAVE_ZIPTOOLS),yes)
+INSTALL_TARGETS := unzip_tests.sh
+$(INSTALL_TARGETS): $(ZIPFILE)
endif
-all: $(DEPS)
+$(ZIPFILE): $(DIR)
+ $(ZIP) -r $@ $(DIR) && chmod 777 $@
-tst_unzip_file.zip: tst_unzip.dir
- zip -r tst_unzip_file.zip tst_unzip.dir && chmod 777 tst_unzip_file.zip
+CLEAN_TARGETS := $(DIR)
# This target should be auto-removed by Make
-.INTERMEDIATE: tst_unzip.dir
-tst_unzip.dir: unzip_genfile.sh
- ./unzip_genfile.sh tst_unzip.dir
-
-install: all
- @set -e; for i in $(BINS); do \
- ln -f $$i ../../bin/$$i ; \
- done
+.INTERMEDIATE: $(DIR)
+$(DIR): unzip_genfile.sh
+ ./$^ $(DIR)
-clean:
- rm -rf tst_unzip.dir tst_unzip_file.zip
+$(eval $(generic_leaf_target))
Index: testcases/kernel/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/Makefile,v retrieving revision 1.20
kernel/Makefile +0 -3
@@ -1,23 +1,40 @@ -include ../../config.mk - -SUBDIRS = power_management numa containers connectors include fs io
ipc mem pty sched security syscalls timers
-UCLINUX_SUBDIRS = include syscalls
-
-ifeq ($(LTP_CHECK_CGROUPSTATS_HEADER),yes)
- SUBDIRS+= controllers
+#
+# kernel test suite Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
+
+top_srcdir ?= ../..
+
+include $(top_srcdir)/include/mk/master_include.mk +
+ifneq ($(UCLINUX),1)
+SUBDIRS := containers connectors controllers fs io ipc mem numa \
+ performance_counters power_management pty sched security \
+ syscalls timers
+else
+SUBDIRS := syscalls
endif
-all:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done
-
-install:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done
-
-uclinux:
- @set -e; for i in $(UCLINUX_SUBDIRS); do $(MAKE) -C $$i uclinux ; done
+trunk-all: $(includedir)/linux_syscall_numbers.h
-uclinux_install:
- @set -e; for i in $(UCLINUX_SUBDIRS); do $(MAKE) -C $$i uclinux_install ; done
+$(includedir)/linux_syscall_numbers.h:
+ $(MAKE) -C include install
-clean:
- @set -e; for i in $(SUBDIRS) timers; do $(MAKE) -C $$i clean ; done
+$(eval $(generic_trunk_target))
Index: testcases/kernel/connectors/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/connectors/Makefile,v retrieving revision 1.4
kernel/connectors/Makefile +26 -15
44 lines not on this page · raw message
Index: testcases/kernel/connectors/pec/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/connectors/pec/Makefile,v retrieving revision 1.2
kernel/connectors/pec/Makefile +27 -12
@@ -1,14 +1,29 @@ -CFLAGS += -I../../../../include -Wall -LDLIBS += -L../../../../lib -lltp +# +# kernel/connectors/pec testcases Makefile. +# +# Copyright (C) 2009, Cisco Systems Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Garrett Cooper, July 2009 +# -SRCS:=$(wildcard *.c) -TARGETS:=$(patsubst %.c,%,$(SRCS)) +top_srcdir ?= ../../../.. -all: $(TARGETS) - -install: - @set -e; for i in $(TARGETS) ; do ln -f $$i ../../../bin/$$i ; chmod +x run_pec_test ; done ; - ln -f run_pec_test ../../../bin/ - chmod +x run_pec_test -clean: - rm -f $(TARGETS) +include $(top_srcdir)/include/mk/testcases.mk + +INSTALL_TARGETS := run_pec_test +
+$(eval $(generic_leaf_target))
Index: testcases/kernel/containers/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/containers/Makefile,v retrieving revision 1.13
kernel/containers/Makefile +0 -5
@@ -1,37 +1,44 @@ -################################################################################ -## ## -## Copyright (c) International Business Machines Corp., 2007 ## -## ## -## This program is free software; you can redistribute it and#or
modify ##
-## it under the terms of the GNU General Public License as published
by ##
-## the Free Software Foundation; either version 2 of the License, or
##
-## (at your option) any later version.
##
-##
##-## This program is distributed in the hope that it will be useful,
but ##
-## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ##
-## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License ##
-## for more details.
##
-##
##
-## You should have received a copy of the GNU General Public License
##
-## along with this program; if not, write to the Free Software
##
-## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA ##
-##
##-################################################################################
-
-SUBDIRS := libclone utsname sysvipc pidns netns mqns
-
-all: check_for_unshare
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
-
-check_for_unshare: check_for_unshare.c
- $(CC) $(CFLAGS) -rdynamic -o $@ $< ../../../lib/tst_kvercmp.c
-I../../../include -ldl
-
-install: check_for_unshare
- @set -e; ln -f check_for_unshare ../../bin/check_for_unshare; \
- ln -f container_test.sh ../../bin/container_test.sh; \
- for i in $(SUBDIRS); do $(MAKE) -C $$i $@ ; done; \
- chmod ugo+x container_test.sh
-
-clean:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i $@ ; done
- rm -f check_for_unshare
+#
+# Copyright (c) International Business Machines Corp., 2007
+#
+# This program is free software; you can redistribute it and#or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details.
+#
+# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +#
+
+top_srcdir ?= ../../..
+
+include $(top_srcdir)/include/mk/master_include.mk
+
+LIBS := $(libdir)/libclone.a $(libdir)/libnetns.a
+LIBDIR := libclone
+
+FILTER_OUT_DIRS := $(LIBDIR)
+
+INSTALL_TARGETS := container_test.sh
+
+cfu := check_for_unshare
+
+MAKE_TARGETS := $(cfu)
+
+$(cfu): LDFLAGS += -rdynamic
+$(cfu): LDLIBS += -ldl
+
+# Make the target the real lib so we don't have to deal with rebuilding this +# every time the dependency is evaluated, like with PHONY rules. +$(LIBS):
+ $(MAKE) -C $(builddir)/$(LIBDIR) install
+
+$(MAKE_TARGETS): | $(LIBS)
+
+$(eval $(generic_trunk_target))
Index: testcases/kernel/containers/Makefile.inc
===================================================================
RCS file: testcases/kernel/containers/Makefile.inc
kernel/containers/Makefile.inc new file +52 -0
23 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/containers/libclone/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/containers/libclone/Makefile,v retrieving revision 1.7
The rest of this diff is not shown. View the raw message.
-install:
+$(LIBNETNS): $(builddir)/libnetns.o
+
+%.a:
+ $(AR) -cr $@ $^
+
+MAKE_TARGETS := $(LIBCLONE) $(LIBNETNS)
+
+$(eval $(generic_leaf_target))
Index: testcases/kernel/containers/libclone/libnetns.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/containers/libclone/libnetns.c,v retrieving revision 1.5
diff -u -r1.5 libnetns.c
--- testcases/kernel/containers/libclone/libnetns.c 30 Dec 2008
06:07:26 -0000 1.5
+++ testcases/kernel/containers/libclone/libnetns.c 19 Aug 2009 03:15:06 -0000
@@ -21,7 +21,7 @@
*
* Scripts Used: parentns.sh childns.sh
*
-* Author: Veerendra <[email protected]>
+* Author: Veerendra <[email protected]>
=========================================================================*/
#include <sys/utsname.h>
@@ -49,11 +49,11 @@
int crtchild(char *s1 , char *s2)
{
- char *cmd[] = { "--", s1, s2, (char *)0 };
- execve("/bin/bash", cmd, __environ);
- printf("The code would not reach here on success\n");
- perror("execve");
- return 1;+ char *cmd[] = { "--", s1, s2, (char *)0 };
+ execve("/bin/bash", cmd, __environ);
+ printf("The code would not reach here on success\n");
+ perror("execve");
+ return 1;
}
int create_net_namespace(char *p1, char *c1)
@@ -88,46 +88,47 @@
#endif
if (pid == -1) {
- perror("Failled to do clone...");
+ perror("Failed to do clone...");
free(stack);
return -1;
}
-/* This code will be executed in parent */
- ltproot = getenv("LTPROOT");
+ /* This code will be executed in parent */
+ ltproot = getenv("LTPROOT");
+
+ if ( !ltproot) {
+ printf("LTPROOT env variable is not set\n");
+ printf("Please set LTPROOT and re-run the test.. Thankyou\n");
+ return -1;
+ }
- if ( !ltproot) {
- printf("LTPROOT env variable is not set\n");
- printf("Please set LTPROOT and re-run the test.. Thankyou\n");
- return -1;- }
-
- par = malloc(FILENAME_MAX);
-
- if (par == NULL) {
- printf("FAIL: error while allocating memory");
- exit(1);
- }
+ par = malloc(FILENAME_MAX);
+
+ if (par == NULL) {
+ printf("FAIL: error while allocating memory");
+ exit(1);
+ }
/* We need to pass the child pid to the parentns.sh script */
- sprintf(par, "%s/testcases/kernel/containers/netns/parentns.sh %s %u",
- ltproot, p1, pid);
+ sprintf(par, "%s/testcases/kernel/containers/netns/parentns.sh %s %u",
+ ltproot, p1, pid);
- ret = system(par);
- status = WEXITSTATUS(ret);
- if ( ret == -1 || status != 0) {
- printf("Error while running the script\n");
- fflush(stdout);
- exit(1);
- }
- fflush(stdout);
-
- ret = waitpid(pid, &status, __WALL);
- status = WEXITSTATUS(status);
- if ( ret == -1 || status != 0)- printf("Error: waitpid() returns %d, status %d\n", ret, status);
+ ret = system(par);
+ status = WEXITSTATUS(ret);
+ if ( ret == -1 || status != 0) {
+ printf("Error while running the script\n");
+ fflush(stdout);
+ exit(1);
+ }
+ fflush(stdout);
- return status;
+ ret = waitpid(pid, &status, __WALL);
+ status = WEXITSTATUS(status);
+ if ( ret == -1 || status != 0) {
+ printf("Error: waitpid() returns %d, status %d\n", ret, status);
+ }
+
+ return status;
}
/* The function to be executed in the child namespace */
@@ -137,7 +138,7 @@
unsigned long flags = 0;
int ret;
-/* Flags to unshare different Namespaces */
+ /* Flags to unshare different Namespaces */
flags |= CLONE_NEWNS; flags |= CLONE_NEWNET; flags |= CLONE_NEWUTS;
@@ -147,7 +148,7 @@
if (!ltproot) {
printf("LTPROOT env variable is not set\n");
- printf("Please set LTPROOT and re-run the test.. Thankyou\n");
+ printf("Please set LTPROOT and re-run the test..\n");
return -1;
}
@@ -158,7 +159,7 @@
}
sprintf(child, "%s/testcases/kernel/containers/netns/childns.sh",
- ltproot);
+ ltproot);
/* Unshare the network namespace in the child */ ret = unshare(flags);
Index: testcases/kernel/containers/mqns/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/containers/mqns/Makefile,v retrieving revision 1.1
The rest of this diff is not shown. View the raw message.
ln -f $$i ../../../bin/$$i ; chmod +x runmqnstest.sh ; done -endif
+$(eval $(generic_leaf_target))
Index: testcases/kernel/containers/netns/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/containers/netns/Makefile,v retrieving revision 1.3
The rest of this diff is not shown. View the raw message.
check_netns_enabled; do ln -f $$i ../../../bin/$$i ; chmod +x runnetnstest.sh ; done
-endif
-
-clean:
- rm -f $(TARGETS) *.o
+$(eval $(generic_leaf_target))
Index: testcases/kernel/containers/pidns/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/containers/pidns/Makefile,v retrieving revision 1.7
The rest of this diff is not shown. View the raw message.
- @set -e; for i in $(TARGETS) runpidnstest.sh check_pidns_enabled; do
ln -f $$i ../../../bin/$$i ; chmod +x runpidnstest.sh ; done -endif
+$(eval $(generic_leaf_target))
Index: testcases/kernel/containers/sysvipc/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/containers/sysvipc/Makefile,v retrieving revision 1.7
The rest of this diff is not shown. View the raw message.
do ln -f $$i ../../../bin/$$i ; chmod +x runipcnstest.sh ; done -endif
+$(eval $(generic_leaf_target))
Index: testcases/kernel/containers/utsname/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/containers/utsname/Makefile,v retrieving revision 1.8
The rest of this diff is not shown. View the raw message.
ln -f $$i ../../../bin/$$i ; chmod +x runutstest.sh ; done -endif
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/Makefile,v retrieving revision 1.12
The rest of this diff is not shown. View the raw message.
$(TARGET_DIR)/usr/include/linux/cgroupstats.h && echo 'cgroup')
else
@@ -76,6 +77,46 @@
@chmod ugo+x test_controllers.sh
@ln -f test_controllers.sh ../../bin/test_controllers.sh @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i $@ ; done
+=======
+#
+# kernel/controllers test suite Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
+
+top_srcdir ?= ../../..
+
+include $(top_srcdir)/include/mk/master_include.mk
+
+LIB := $(libdir)/libcontrollers.a
+LIBDIR := libcontrollers
+
+FILTER_OUT_DIRS := $(LIBDIR)
+
+INSTALL_TARGETS := test_controllers.sh
+
+# Make the target the real lib so we don't have to deal with rebuilding this +# every time the dependency is evaluated, like with PHONY rules. +$(LIB):
+ $(MAKE) -C $(builddir)/$(LIBDIR)
+>>>>>>> 1.11.2.4
-clean:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i $@ ; done
+trunk-all: $(LIB)
+
+$(eval $(generic_trunk_target))
Index: testcases/kernel/controllers/Makefile.inc
===================================================================
RCS file: testcases/kernel/controllers/Makefile.inc
kernel/controllers/Makefile.inc new file +44 -0
44 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/controllers/cgroup/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cgroup/Makefile,v retrieving revision 1.1
The rest of this diff is not shown. View the raw message.
chmod +x $$i ; done
+INSTALL_TARGETS := cgroup_regression_test.sh
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/cpuctl/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuctl/Makefile,v retrieving revision 1.5
The rest of this diff is not shown. View the raw message.
parameters.sh run_cpuctl_latency_test.sh
-all: $(TARGETS)
-
-clean:
- rm -f $(TARGETS) *.o
-
-install:
- @set -e; for i in $(TARGETS) run_cpuctl_test.sh \
- run_cpuctl_stress_test.sh parameters.sh run_cpuctl_latency_test.sh; \
- do ln -f $$i ../../../bin/$$i ; chmod +x $$i ; done
+LDLIBS += -lm -lcontrollers
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/cpuset/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuset/Makefile,v retrieving revision 1.3
kernel/controllers/cpuset/Makefile +40 -16
56 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/controllers/cpuset/Makefile.inc
===================================================================
RCS file: testcases/kernel/controllers/cpuset/Makefile.inc
kernel/controllers/cpuset/Makefile.inc new file +45 -0
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/controllers/cpuset/cpuset_funcs.sh
===================================================================
RCS file: testcases/kernel/controllers/cpuset/cpuset_funcs.sh
kernel/controllers/cpuset/cpuset_funcs.sh new file +0 -0
03:15:06 -0000
@@ -0,0 +1,265 @@
+#!/bin/sh
+# usage: . cpuset_funcs.sh
+# functions for cpuset test
+
+################################################################################
+##
##
+## Copyright (c) 2009 FUJITSU LIMITED
##
+##
##+## This program is free software; you can redistribute it and#or
modify ##
+## it under the terms of the GNU General Public License as published
by ##
+## the Free Software Foundation; either version 2 of the License, or
##
+## (at your option) any later version.
##
+##
##+## This program is distributed in the hope that it will be useful,
but ##
+## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ##
+## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License ##
+## for more details.
##
+##
##
+## You should have received a copy of the GNU General Public License
##
+## along with this program; if not, write to the Free Software
##
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA ##
+##
##
+## Author: Miao Xie <[email protected]>
##
+##
##+################################################################################
+
+NR_CPUS="cat /proc/cpuinfo | grep "processor" | wc -l"
+if [ -f "/sys/devices/system/node/has_high_memory" ]; then
+ N_NODES="cat /sys/devices/system/node/has_high_memory"
+else
+ N_NODES="cat /sys/devices/system/node/has_normal_memory"
+fi
+N_NODES=${N_NODES#*-*}
+: $((N_NODES++))
+
+CPUSET="/dev/cpuset"
+CPUSET_TMP="/tmp/cpuset_tmp"
+
+HOTPLUG_CPU="1"
+
+cpuset_log()
+{
+ tst_resm TINFO "$*"
+}
+
+# cpuset_log_error <error_file>
+cpuset_log_error()
+{
+ local error_message=
+
+ while read error_message
+ do
+ cpuset_log "$error_message"
+ done < "$1"
+}
+
+version_check()
+{
+ tst_kvercmp 2 6 28
+ if [ $? -eq 0 ]; then
+ tst_brkm TCONF ignored "kernel is below 2.6.28"
+ return 1
+ fi
+}
+
+ncpus_check()
+{
+ if [ $NR_CPUS -lt 4 ]; then
+ tst_brkm TCONF ignored "The total of CPUs is less than 4"
+ return 1
+ fi
+}
+
+nnodes_check()
+{
+ if [ $N_NODES -lt 3 ]; then
+ tst_brkm TCONF ignored "The total of nodes is less than 3"
+ return 1
+ fi
+}
+
+user_check()
+{
+ if [ "$USER" != root ]; then
+ tst_brkm TCONF ignored "Test must be run as root"
+ return 1
+ fi
+}
+
+cpuset_check()
+{
+ grep cpuset /proc/cgroups > /dev/null 2>&1
+ if [ $? -ne 0 ]; then
+ tst_brkm TCONF ignored "Cpuset is not supported"
+ return 1
+ fi
+}
+
+check()
+{
+ user_check
+ if [ $? -ne 0 ]; then
+ return 1
+ fi
+
+ cpuset_check
+ if [ $? -ne 0 ]; then
+ return 1
+ fi
+
+ version_check
+ if [ $? -ne 0 ]; then
+ return 1
+ fi
+
+ ncpus_check
+ if [ $? -ne 0 ]; then
+ return 1
+ fi
+
+ nnodes_check
+ if [ $? -ne 0 ]; then
+ return 1
+ fi
+
+}
+
+# Create /dev/cpuset & mount the cgroup file system with cpuset
+# clean any group created eralier (if any)
+setup()
+{
+ if [ -e "$CPUSET" ]
+ then
+ tst_resm TWARN "$CPUSET already exist.. overwriting"
+ cleanup || {
+ tst_brkm TFAIL ignored "Can't cleanup... Exiting"
+ return 1
+ }
+ fi
+
+ mkdir -p "$CPUSET_TMP"
+ mkdir "$CPUSET"
+ mount -t cpuset cpuset "$CPUSET" 2> /dev/null
+ if [ $? -ne 0 ]; then
+ tst_brkm TFAIL ignored "Could not mount cgroup filesystem with"\
+ " cpuset on $CPUSET..Exiting test"
+ cleanup
+ return 1
+ fi
+}
+
+# Write the cleanup function
+cleanup()
+{
+ mount | grep "$CPUSET" >/dev/null 2>&1 || {
+ rm -rf "$CPUSET" >/dev/null 2>&1
+ return 0
+ }
+
+ find "$CPUSET" -type d | sort | sed -n '2,$p' | tac | while read subdir
+ do
+ while read pid
+ do
+ /bin/kill $pid > /dev/null 2>&1
+ if [ $? -ne 0 ]; then
+ tst_brkm TFAIL ignored "Couldn't kill task - "\
+ "$pid in the cpuset"
+ return 1
+ fi
+ done < "$subdir/tasks"
+ rmdir "$subdir"
+ if [ $? -ne 0 ]; then
+ tst_brkm TFAIL ignored "Couldn't remove subdir - "
+ "$subdir in the cpuset"
+ return 1
+ fi
+ done
+
+ umount "$CPUSET"
+ if [ $? -ne 0 ]; then
+ tst_brkm TFAIL ignored "Couldn't umount cgroup filesystem with"\
+ " cpuset on $CPUSET..Exiting test"
+ return 1
+ fi
+ rmdir "$CPUSET" > /dev/null 2>&1
+ rm -rf "$CPUSET_TMP" > /dev/null 2>&1
+}
+
+# set the cpuset's parameter
+# cpuset_set <cpusetpath> <cpus> <mems> <load_balance>
+cpuset_set()
+{
+ local path="$1"
+ mkdir -p "$path"
+ if [ $? -ne 0 ]; then
+ return 1
+ fi
+
+ local cpus="$2"
+ local mems="$3"
+ local load_balance="$4"
+
+ if [ "$path" != "$CPUSET" ]; then
+ if [ "$cpus" != "-" ]; then
+ /bin/echo $cpus > $path/cpus
+ if [ $? -ne 0 ]; then
+ return 1
+ fi
+ fi
+
+ /bin/echo $mems > $path/mems
+ if [ $? -ne 0 ]; then
+ return 1
+ fi
+ fi
+
+ /bin/echo $load_balance > $path/sched_load_balance
+ if [ $? -ne 0 ]; then
+ return 1
+ fi
+}
+
+# cpu_hotplug cpu_id offline/online
+cpu_hotplug()
+{
+ if [ "$2" = "online" ]; then
+ /bin/echo 1 > "/sys/devices/system/cpu/cpu$1/online"
+ if [ $? -ne 0 ]; then
+ return 1
+ fi
+ elif [ "$2" = "offline" ]; then
+ /bin/echo 0 > "/sys/devices/system/cpu/cpu$1/online"
+ if [ $? -ne 0 ]; then
+ return 1
+ fi
+ fi
+}
+
+# setup_test_environment <online | offline>
+# online - online a CPU in testing, so we must offline a CPU first
+# offline - offline a CPU in testing, we needn't do anything
+setup_test_environment()
+{
+ if [ "$1" = "online" ]; then
+ cpu_hotplug $HOTPLUG_CPU offline
+ if [ $? -ne 0 ]; then
+ return 1
+ fi
+ fi
+}
+
+cpu_hotplug_cleanup()
+{
+ local cpus_array="$(seq -s' ' 1 $((NR_CPUS-1)))"
+ local cpuid=
+ for cpuid in $cpus_array
+ do
+ local file="/sys/devices/system/cpu/cpu$cpuid/online"
+ local offline="$(cat $file)"
+ if [ $offline -eq 0 ]; then
+ cpu_hotplug $cpuid "online"
+ fi
+ done
+}
+
Index: testcases/kernel/controllers/cpuset/cpuset_base_ops_test/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuset/cpuset_base_ops_test/Makefile,v retrieving revision 1.2
diff -u -r1.2 Makefile
--- testcases/kernel/controllers/cpuset/cpuset_base_ops_test/Makefile 23
Jun 2009 14:18:16 -0000 1.2
+++ testcases/kernel/controllers/cpuset/cpuset_base_ops_test/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,12 +1,27 @@
-SRCS = $(wildcard *.sh)
+#
+# kernel/controllers/cpuset/cpuset_base_ops_test testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-all:
- @true
+include ../Makefile.inc
-clean:
- @true
-
-install:
- @set -e; \
- for i in $(SRCS); do ln -f $$i ../../../../bin/$$i; chmod +x $$i; done
+MAKE_TARGETS :=
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/cpuset/cpuset_exclusive_test/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuset/cpuset_exclusive_test/Makefile,v retrieving revision 1.2
diff -u -r1.2 Makefile
--- testcases/kernel/controllers/cpuset/cpuset_exclusive_test/Makefile 23
Jun 2009 14:18:16 -0000 1.2
+++ testcases/kernel/controllers/cpuset/cpuset_exclusive_test/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,12 +1,27 @@
-SRCS = $(wildcard *.sh)
+#
+# kernel/controllers/cpuset/cpuset_exclusive_test testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-all:
- @true
+include ../Makefile.inc
-clean:
- @true
-
-install:
- @set -e; \
- for i in $(SRCS); do ln -f $$i ../../../../bin/$$i; chmod +x $$i; done
+MAKE_TARGETS :=
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/cpuset/cpuset_hierarchy_test/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuset/cpuset_hierarchy_test/Makefile,v retrieving revision 1.2
diff -u -r1.2 Makefile
--- testcases/kernel/controllers/cpuset/cpuset_hierarchy_test/Makefile 23
Jun 2009 14:18:16 -0000 1.2
+++ testcases/kernel/controllers/cpuset/cpuset_hierarchy_test/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,12 +1,27 @@
-SRCS = $(wildcard *.sh)
+#
+# kernel/controllers/cpuset/cpuset_hierarchy_test testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-all:
- @true
+include ../Makefile.inc
-clean:
- @true
-
-install:
- @set -e; \
- for i in $(SRCS); do ln -f $$i ../../../../bin/$$i; chmod +x $$i; done
+MAKE_TARGETS :=
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile,v retrieving revision 1.2
diff -u -r1.2 Makefile
--- testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile 23
Jun 2009 14:18:16 -0000 1.2
+++ testcases/kernel/controllers/cpuset/cpuset_hotplug_test/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,22 +1,27 @@
-CFLAGS += -Wall -g -Wextra
-LDLIBS := -lm
+#
+# kernel/controllers/cpuset/cpuset_hotplug_test testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-LIBSRCS=$(wildcard ../cpuset_lib/*.c)
-LIBOBJECTS=$(patsubst %.c,%.o,$(LIBSRCS))
+include ../Makefile.inc
-SRCS=$(wildcard *.c)
-OBJECTS=$(patsubst %.c,%.o,$(SRCS))
-TARGETS=$(patsubst %.c,%,$(SRCS))
+MAKE_TARGETS :=
-all: $(TARGETS)
-
-$(TARGETS): %: %.o $(LIBOBJECTS)
-
-clean:
- rm -f $(TARGETS) $(OBJECTS) $(LIBOBJECTS)
-
-install:
- @set -e; \
- for i in $(TARGETS); do ln -f $$i ../../../../bin/$$i; chmod +x $$i; done
- ln -f cpuset_hotplug_test.sh ../../../../bin/cpuset_hotplug_test.sh;
- chmod +x cpuset_hotplug_test.sh;
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/cpuset/cpuset_inherit_test/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuset/cpuset_inherit_test/Makefile,v retrieving revision 1.2
diff -u -r1.2 Makefile
--- testcases/kernel/controllers/cpuset/cpuset_inherit_test/Makefile 23
Jun 2009 14:18:17 -0000 1.2
+++ testcases/kernel/controllers/cpuset/cpuset_inherit_test/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,12 +1,27 @@
-SRCS = $(wildcard *.sh)
+#
+# kernel/controllers/cpuset/cpuset_inherit_test testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-all:
- @true
+include ../Makefile.inc
-clean:
- @true
-
-install:
- @set -e; \
- for i in $(SRCS); do ln -f $$i ../../../../bin/$$i; chmod +x $$i; done
+MAKE_TARGETS :=
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/cpuset/cpuset_lib/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/Makefile,v retrieving revision 1.2
diff -u -r1.2 Makefile
--- testcases/kernel/controllers/cpuset/cpuset_lib/Makefile 23 Jun
2009 14:18:17 -0000 1.2
+++ testcases/kernel/controllers/cpuset/cpuset_lib/Makefile 19 Aug
2009 03:15:06 -0000
@@ -1,16 +1,31 @@
-CFLAGS += -Wall -g -Wextra
-CPPFLAGS += -I../../../../include
-LDLIBS += -lm -L../../../../lib/ -lcontrollers -lltp
+#
+# kernel/controllers/cpuset/cpuset_lib library Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-SRCS=$(wildcard *.c)
-TARGETS=$(patsubst %.c,%.o,$(SRCS))
+top_srcdir := ../../../../..
-all: $(TARGETS)
+include $(top_srcdir)/include/mk/lib.mk
-clean:
- rm -f $(TARGETS)
+LDLIBS += -lm -lcontrollers
-install:
- @set -e; \
- ln -f cpuset_funcs.sh ../../../../bin/cpuset_funcs.sh;
- chmod +x cpuset_funcs.sh;
+LIB := libcpu_set.a
+
+$(eval $(lib_target))
Index: testcases/kernel/controllers/cpuset/cpuset_load_balance_test/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/Makefile,v retrieving revision 1.2
diff -u -r1.2 Makefile
--- testcases/kernel/controllers/cpuset/cpuset_load_balance_test/Makefile 23
Jun 2009 14:18:17 -0000 1.2
+++ testcases/kernel/controllers/cpuset/cpuset_load_balance_test/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,24 +1,27 @@
-CFLAGS += -Wall -g -Wextra
-LDLIBS := -lm
+#
+# kernel/controllers/cpuset/cpuset_load_balance_test testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-LIBSRCS=$(wildcard ../cpuset_lib/*.c)
-LIBOBJECTS=$(patsubst %.c,%.o,$(LIBSRCS))
+include ../Makefile.inc
-SRCS=$(wildcard *.c)
-OBJECTS=$(patsubst %.c,%.o,$(SRCS))
-TARGETS=$(patsubst %.c,%,$(SRCS))
+LDLIBS += -lm
-all: $(TARGETS)
-
-$(TARGETS): %: %.o $(LIBOBJECTS)
-
-clean:
- rm -f $(TARGETS) $(OBJECTS) $(LIBOBJECTS)
-
-install:
- @set -e; \
- for i in $(TARGETS); do ln -f $$i ../../../../bin/$$i; chmod +x $$i; done
- ln -f cpuset_load_balance_test.sh ../../../../bin/cpuset_load_balance_test.sh;
- ln -f cpuset_sched_domains_test.sh../../../../bin/cpuset_sched_domains_test.sh;
- chmod +x cpuset_load_balance_test.sh;
- chmod +x cpuset_sched_domains_test.sh;
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/Makefile 11
May 2009 10:02:47 -0000 1.1
+++ testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,16 +1,25 @@
-CFLAGS += -Wall -g -Wextra
+#
+# kernel/controllers/cpuset/cpuset_memory_pressure_test testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-all: cpuset_memory_pressure
+include ../Makefile.inc
-cpuset_memory_pressure: cpuset_memory_pressure.o
- cc cpuset_memory_pressure.o -o cpuset_memory_pressure
-
-clean:
- rm -f cpuset_memory_pressure.o cpuset_memory_pressure
-
-install:
- @set -e;
- ln -f cpuset_memory_pressure ../../../../bin/cpuset_memory_pressure;
- ln -f cpuset_memory_pressure_testset.sh../../../../bin/cpuset_memory_pressure_testset.sh;
- chmod +x cpuset_memory_pressure;
- chmod +x cpuset_memory_pressure_testset.sh;
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/Makefile 11
May 2009 10:02:47 -0000 1.1
+++ testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,16 +1,25 @@
-CFLAGS += -Wall -g -Wextra
+#
+# kernel/controllers/cpuset/cpuset_memory_spread_test testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-all: cpuset_mem_hog
+include ../Makefile.inc
-cpuset_mem_hog: cpuset_mem_hog.o
- cc cpuset_mem_hog.o -o cpuset_mem_hog
-
-clean:
- rm -f cpuset_mem_hog.o cpuset_mem_hog
-
-install:
- @set -e;
- ln -f cpuset_mem_hog ../../../../bin/cpuset_mem_hog;
- ln -f cpuset_memory_spread_testset.sh../../../../bin/cpuset_memory_spread_testset.sh;
- chmod +x cpuset_mem_hog;
- chmod +x cpuset_memory_spread_testset.sh;
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/cpuset/cpuset_memory_test/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/kernel/controllers/cpuset/cpuset_memory_test/Makefile 11
May 2009 10:02:47 -0000 1.1
+++ testcases/kernel/controllers/cpuset/cpuset_memory_test/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,20 +1,27 @@
-CFLAGS += -Wall -g -Wextra
+#
+# kernel/controllers/cpuset/cpuset_memory_test testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-LIBSRCS=$(wildcard ../cpuset_lib/*.c)
-LIBOBJECTS=$(patsubst %.c,%.o,$(LIBSRCS))
+include ../Makefile.inc
-all: cpuset_memory_test
+LDLIBS += -lpthread
-cpuset_memory_test: cpuset_memory_test.o $(LIBOBJECTS)
- cc cpuset_memory_test.o $(LIBOBJECTS) -o cpuset_memory_test -lpthread
-
-clean:
- rm -f cpuset_memory_test cpuset_memory_test.o
- rm -f $(LIBOBJECTS)
-
-install:
- @set -e;
- ln -f cpuset_memory_test ../../../../bin/cpuset_memory_test;
- ln -f cpuset_memory_testset.sh ../../../../bin/cpuset_memory_testset.sh;
- chmod +x cpuset_memory_test;
- chmod +x cpuset_memory_testset.sh;
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/cpuset/cpuset_syscall_test/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/Makefile,v retrieving revision 1.5
diff -u -r1.5 Makefile
--- testcases/kernel/controllers/cpuset/cpuset_syscall_test/Makefile 14
Jul 2009 06:26:47 -0000 1.5
+++ testcases/kernel/controllers/cpuset/cpuset_syscall_test/Makefile 19
Aug 2009 03:15:06 -0000
@@ -1,18 +1,25 @@
-SRCS = $(wildcard *.c)
+#
+# kernel/controllers/cpuset/cpuset_syscall_test testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-OBJECTS = $(SRCS:.c=.o)
+include ../Makefile.inc
-LIBSRCS=$(wildcard ../cpuset_lib/*.c)
-LIBOBJECTS=$(patsubst %.c,%.o,$(LIBSRCS))
-
-all: cpuset_syscall_test
-
-cpuset_syscall_test: %: %.o $(LIBOBJECTS)
-
-clean:
- rm -rf cpuset_syscall_test $(OBJECTS) $(LIBOBJECTS)
-
-install:
- @set -e; \
- for i in *.sh; do ln -f $$i ../../../../bin/$$i; chmod +x $$i; done
- ln -f cpuset_syscall_test ../../../../bin/cpuset_syscall_test;
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/freezer/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/freezer/Makefile,v retrieving revision 1.1
kernel/controllers/freezer/Makefile +22 -27
49 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/controllers/io-throttle/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/io-throttle/Makefile,v retrieving revision 1.2
diff -u -r1.2 Makefile
--- testcases/kernel/controllers/io-throttle/Makefile 5 Oct 2008
14:50:06 -0000 1.2
+++ testcases/kernel/controllers/io-throttle/Makefile 19 Aug 2009 03:15:06 -0000
@@ -1,16 +1,31 @@
-CFLAGS += -Wall
-CPPFLAGS += -I../../../../include -I../libcontrollers
-LDLIBS += -lm -L../../../../lib/ -L../libcontrollers -lcontrollers -lltp +#
+# kernel/controllers/io-throttle testcase suite Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
+
+top_srcdir ?= ../../../..
-SRCS = $(wildcard *.c)
+include $(top_srcdir)/include/mk/testcases.mk
-TARGETS = $(patsubst %.c,%,$(SRCS))
+INSTALL_TARGETS := run_io_throttle_test.sh myfunctions-io.sh
-all: $(TARGETS)
-
-clean:
- rm -f $(TARGETS) *.o
-
-install:
- @set -e; for i in $(TARGETS) run_io_throttle_test.shmyfunctions-io.sh; do ln -f $$i ../../../bin/$$i ; chmod +x $$i ; done
+LDLIBS += -lm -lcontrollers
+$(eval $(generic_leaf_target))
Index: testcases/kernel/controllers/libcontrollers/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/libcontrollers/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/kernel/controllers/libcontrollers/Makefile 28 Feb 2008
14:50:59 -0000 1.1
+++ testcases/kernel/controllers/libcontrollers/Makefile 19 Aug 2009
03:15:06 -0000
@@ -1,15 +1,29 @@
-TARGET=libcontrollers.a
-SRCS=$(wildcard *.c)
-OBJS=$(patsubst %.c,%.o,$(SRCS))
+#
+# testcases/kernel/controllers library Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-all : $(TARGET)
+top_srcdir ?= ../../../..
-$(TARGET): $(OBJS)
- $(AR) -cr $@ $^
-
-clean:
- rm -f $(TARGET) $(OBJS)
-
-install:
+include $(top_srcdir)/include/mk/lib.mk
+LIB := libcontrollers.a
+$(eval $(lib_target))
Index: testcases/kernel/controllers/memcg/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/controllers/memcg/Makefile,v retrieving revision 1.1
The rest of this diff is not shown. View the raw message.
chmod +x $$i ; done
+INSTALL_TARGETS := memcg_regression_test.sh
+$(eval $(generic_leaf_target))
Index: testcases/kernel/fs/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/Makefile,v retrieving revision 1.14
The rest of this diff is not shown. View the raw message.
lftest linktest openfile proc stream fs_di fs_bind racer quota_remount +#
+# kernel/fs testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-all:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done
-
-install:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done
-
-clean:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean ; done
+include $(top_srcdir)/include/mk/master_include.mk
+FILTER_OUT_DIRS := dmapi
+$(eval $(generic_trunk_target))
Index: testcases/kernel/fs/acls/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/acls/Makefile,v retrieving revision 1.8
kernel/fs/acls/Makefile +32 -16
48 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/dmapi/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/dmapi/Makefile,v retrieving revision 1.3
kernel/fs/dmapi/Makefile +12 -69
81 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
dm_test,$(MAKE_TARGETS)))
-right : right.c dm_test.h Makefile dm_test.o
- cc $(cflags) -o right right.c dm_test.o $(lflags_thd)
+$(MAKE_TARGETS): %: %.o $(builddir)/dm_test.o dm_test.h Makefile
-mmap : mmap.c dm_test.h Makefile dm_test.o
- cc $(cflags) -o mmap mmap.c dm_test.o $(lflags_thd)
+CLEAN_TARGETS := dm_test.h
-mmapfile: mmapfile.c dm_test.h Makefile
- cc $(cflags) -o mmapfile mmapfile.c $(lflags)
+$(builddir)/dm_test.o: dm_test.c dm_impl.h Makefile
-event : event.c dm_test.h Makefile dm_test.o
- cc $(cflags) -o event event.c dm_test.o $(lflags_thd)
+$(eval $(generic_leaf_target))
-clean :
- rm -f *.o
- rm -f $(progs)
+$(warning $(MAKE_TARGETS))
Index: testcases/kernel/fs/doio/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/doio/Makefile,v retrieving revision 1.9
kernel/fs/doio/Makefile +28 -24
52 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/fs-bench/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/fs-bench/Makefile,v retrieving revision 1.2
kernel/fs/fs-bench/Makefile +38 -22
60 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/fs-bench/random-access-del-create.c
===================================================================
RCS file: testcases/kernel/fs/fs-bench/random-access-del-create.c
kernel/fs/fs-bench/random-access-del-create.c new file +0 -0
2009 03:15:06 -0000
@@ -0,0 +1,135 @@
+/* random-del-create.c (GPL)*/
+/* Hironobu SUZUKI <[email protected]> */
+
+#include <stdio.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <time.h>
+#include <stdlib.h>
+#define FAIL 0
+#define SUCCESS 1
+
+int openlog[2]={0,0};
+
+#define MAXNUM 0x100000
+
+#define MAXERROR 1024
+
+extern int box_muler(int, int);
+extern void create_or_delete(char *);
+
+int cfilecount=0;
+int dfilecount=0;
+int errorcount=0;
+
+int
+main(int ac, char **av)
+{
+ int r;
+ char fname[1024];
+ time_t t;
+ int i;
+ int m;
+
+ if ( ac != 2 ) {
+ printf("%s hex-style-filename \n", av[0]);
+ printf("ex) %s 00022300\n", av[0]);
+ exit(1);
+ }
+ sscanf(av[1],"%x",&m);
+ if ( m < 1 || m > MAXNUM ) {+ printf("out of size %d\n",m);
+ exit(1);
+ }
+
+ time(&t);
+ srandom((unsigned int)getpid()^(((unsigned int)t<<16)| (unsigned int)t>>16)); +
+
+ /* 00/00/00/00 */
+ for ( i = 0 ; i < m ; i++) {
+ r = random() % m; + sprintf(fname,"00/%2.2x/%2.2x/00%2.2x%2.2x%2.2x", + ((r>>16)&0xFF), + ((r>>8)&0xFF), + ((r>>16)&0xFF), + ((r>>8)&0xFF), + (r&0xFF)); + create_or_delete(fname); + } + fprintf(stderr,"Total create files: %d\n",cfilecount); + fprintf(stderr,"Total delete files: %d\n",dfilecount); + fprintf(stderr,"Total error : %d\n",errorcount); + exit(0);
+}
+
+#define MAXFSIZE (192*1024)
+#define AVEFSIZE (MAXFSIZE/2)
+#define POOLDISKSPACE (AVEFSIZE*128)
+
+static int disk_space_pool=0;
+void create_or_delete(char *fname)
+{
+ int r;
+ int fsize;
+
+ r = (random() & 1);
+ if ( r && disk_space_pool > POOLDISKSPACE) {
+ /* create */
+ create_file(fname) ;
+ }
+ else {
+ delete_file(fname);
+ }
+ if ( (errorcount > dfilecount || errorcount > cfilecount) && (errorcount > MAXERROR)) {
+ fprintf(stderr,"too much error -- stop\n"); + fprintf(stderr,"Total create files: %d\n",cfilecount); + fprintf(stderr,"Total delete files: %d\n",dfilecount); + fprintf(stderr,"Total error : %d\n",errorcount); + exit(1);
+ }
+}
+
+create_file(char *filename)
+{
+ int fd;
+ int randomsize;
+ char wbuf[MAXFSIZE];
+ if ( (fd=creat(filename, S_IRWXU)) < 0) {+ errorcount++;
+ return(-1);
+ }
+ if ((randomsize=box_muler(0,MAXFSIZE)) < 0) {
+ randomsize = MAXFSIZE;
+ }
+ if (write(fd,wbuf,randomsize) < 0 ) {
+ errorcount++; + close(fd); + return(-1); + } + cfilecount++; + disk_space_pool -= randomsize; + close(fd);
+}
+
+#include <sys/stat.h>
+#include <unistd.h>
+
+delete_file(char *filename)
+{
+ struct stat buf;
+ int st;
+ st = stat(filename, &buf);
+ if ( st < 0 ) {
+ errorcount++;
+ return (-1);
+ }
+ disk_space_pool += buf.st_size;
+ if ( unlink(filename) < 0 ) {+ errorcount++;
+ return(-1);
+ }
+ dfilecount++;
+}
Index: testcases/kernel/fs/fs_bind/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/fs_bind/Makefile,v retrieving revision 1.1
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/fs_di/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/fs_di/Makefile,v retrieving revision 1.1
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/fs_inod/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/fs_inod/Makefile,v retrieving revision 1.3
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/fs_perms/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/fs_perms/Makefile,v retrieving revision 1.13
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/fsstress/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/fsstress/Makefile,v retrieving revision 1.5
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/fsx-linux/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/fsx-linux/Makefile,v retrieving revision 1.4
kernel/fs/fsx-linux/Makefile +29 -13
42 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/ftest/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/ftest/Makefile,v retrieving revision 1.2
kernel/fs/ftest/Makefile +21 -31
52 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/inode/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/inode/Makefile,v retrieving revision 1.2
kernel/fs/inode/Makefile +22 -29
51 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/lftest/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/lftest/Makefile,v retrieving revision 1.7
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/linktest/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/linktest/Makefile,v retrieving revision 1.3
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/openfile/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/openfile/Makefile,v retrieving revision 1.4
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/proc/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/proc/Makefile,v retrieving revision 1.5
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/quota_remount/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/quota_remount/Makefile,v retrieving revision 1.1
The rest of this diff is not shown. View the raw message.
modify ##
-## it under the terms of the GNU General Public License as published
by ##
-## the Free Software Foundation; either version 2 of the License, or
##
-## (at your option) any later version.
##
-##
##-## This program is distributed in the hope that it will be useful,
but ##
-## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ##
-## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License ##
-## for more details.
##
-##
##
-## You should have received a copy of the GNU General Public License
##
-## along with this program; if not, write to the Free Software
##
-## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA ##
-##
##-################################################################################
+#
+# Copyright (c) International Business Machines Corp., 2001 +#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See +# the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
-all:
+top_srcdir ?= ../../../..
-install:
- @ln -f quota_remount_test01.sh ../../../bin/;
+include $(top_srcdir)/include/mk/testcases.mk
-clean:
+INSTALL_TARGETS := quota_remount_test01.sh
+
+$(eval $(generic_leaf_target))
Index: testcases/kernel/fs/racer/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/racer/Makefile,v retrieving revision 1.1
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/scsi/ltpscsi/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/scsi/ltpscsi/Makefile,v retrieving revision 1.3
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/fs/stream/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/fs/stream/Makefile,v retrieving revision 1.2
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/include/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/include/Makefile,v retrieving revision 1.7
kernel/include/Makefile +31 -12
43 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/io/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/Makefile,v retrieving revision 1.6
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/io/aio/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/aio/Makefile,v retrieving revision 1.2
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/io/aio/aio01/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/aio/aio01/Makefile,v retrieving revision 1.2
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/io/aio/aio02/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/aio/aio02/Makefile,v retrieving revision 1.6
kernel/io/aio/aio02/Makefile +35 -16
51 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/io/aio/aio02/aio_tio.c
===================================================================
RCS file: testcases/kernel/io/aio/aio02/aio_tio.c
kernel/io/aio/aio02/aio_tio.c new file +22 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Kernel infrastructure
+* REQUIREMENTS:
+* 1) libaio-0.3.92 or up for 2.5 kernal
+* 2) glibc 2.1.91 or up
+* HISTORY :
+* 11/03/2003 Kai Zhao ([email protected])
+*
+* CODE COVERAGE:
+* 68.3% - fs/aio.c
+* +************************************************************************************/ +
+#include "common.h"
+#define AIO_MAXIO 32
+#define AIO_BLKSIZE (64*1024)
+static int alignment = 512;
+static int wait_count = 0;
+
+
+/*
+ * write work done
+ *
+ */
+static void work_done(io_context_t ctx, struct iocb *iocb, long res, long res2) +{
+
+ if (res2 != 0) {
+ io_error("aio write", res2);
+ }
+
+ if (res != iocb->u.c.nbytes) {
+ fprintf(stderr, "write missed bytes expect %lu got %ld\n",
+ iocb->u.c.nbytes, res2);
+ exit(1);
+ }
+ wait_count --;
+}
+
+/*
+ * io_wait_run() - wait for an io_event and then call the callback.
+ */
+int io_wait_run(io_context_t ctx, struct timespec *to)
+{
+ struct io_event events[AIO_MAXIO];
+ struct io_event *ep;
+ int ret, n;
+
+ /*
+ * get up to aio_maxio events at a time.
+ */
+ ret = n = io_getevents( ctx, 1, AIO_MAXIO, events, to );
+
+ /*
+ * Call the callback functions for each event.
+ */
+ for ( ep = events ; n-- > 0 ; ep++ ) {
+ io_callback_t cb = ( io_callback_t)ep->data ; struct iocb *iocb =ep->obj ; cb(ctx, iocb, ep->res, ep->res2);
+ }
+ return ret;
+}
+
+
+int io_tio(char *pathname , int flag , int n , int operation)
+{
+ int res , fd = 0 , i = 0;
+ void * bufptr = NULL;
+ off_t offset = 0;
+ struct timespec timeout;
+
+ io_context_t myctx;
+ struct iocb iocb_array[AIO_MAXIO];
+ struct iocb *iocbps[AIO_MAXIO];
+
+ fd = open ( pathname , flag, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+ if ( fd <= 0 ) {
+ perror ( " open : file " );
+ return -1;
+ }
+
+ res = io_queue_init(n, &myctx);
+ //printf ( " res = %d \n", res);
+
+ for ( i = 0 ; i < AIO_MAXIO ; i ++ ) {
+
+ switch (operation) {
+ case IO_CMD_FSYNC :
+ case IO_CMD_FDSYNC :
+ case IO_CMD_PWRITE :
+ {
+ if ( posix_memalign ( &bufptr , alignment , AIO_BLKSIZE )) {
+ perror ( " posix_memalign failed " );
+ return -1;
+ }
+ memset ( bufptr , 0 , AIO_BLKSIZE );
+
+ io_prep_pwrite ( &iocb_array[i] , fd , bufptr , AIO_BLKSIZE , offset );
+ io_set_callback( &iocb_array[i] , work_done );
+ iocbps[i] = &iocb_array[i];
+ offset += AIO_BLKSIZE;
+ }
+ break;
+ case IO_CMD_PREAD :
+ {
+ if ( posix_memalign ( &bufptr , alignment , AIO_BLKSIZE )) {
+ perror ( " posix_memalign failed " );
+ return -1;
+ }
+ memset ( bufptr , 0 , AIO_BLKSIZE );
+
+ io_prep_pread ( &iocb_array[i] , fd , bufptr , AIO_BLKSIZE , offset );
+ io_set_callback( &iocb_array[i] , work_done );
+ iocbps[i] = &iocb_array[i];
+ offset += AIO_BLKSIZE;
+ }
+ break;
+ case IO_CMD_POLL :
+ {
+
+ }
+ break;
+ case IO_CMD_NOOP :
+ {
+
+ }
+ break;
+ default:
+ {
+ fprintf ( stderr , "CMD Failed \n" );
+ return -1;
+ }
+ break;+ }
+ }
+
+ do {
+ res = io_submit(myctx , AIO_MAXIO , iocbps);
+ } while (res == -EAGAIN);
+ if (res < 0 ) {
+ io_error("io_submit tio", res);
+ }
+
+ /*
+ * We have submitted all the i/o requests. Wait for at least one to complete
+ * and call the callbacks.
+ */
+ wait_count = AIO_MAXIO;
+
+ timeout.tv_sec = 30;
+ timeout.tv_nsec = 0;
+
+ switch ( operation ) {
+ case IO_CMD_PREAD :
+ case IO_CMD_PWRITE :
+ {
+ while ( wait_count ) {
+ res = io_wait_run( myctx , &timeout );
+ if ( res < 0 )
+ io_error("io_wait_run", res);
+ }
+ }
+ break;
+ case IO_CMD_FSYNC :
+ {
+ for ( i = 0 ; i < AIO_MAXIO ; i ++ ) {
+ res = io_fsync( myctx , iocbps[i] , work_done , fd);
+ if ( res < 0 ) {
+ io_error("io_fsync write", res);
+ }
+ }
+ }
+ break;
+ case IO_CMD_FDSYNC :
+ {
+ for ( i = 0 ; i < AIO_MAXIO ; i ++ ) {
+ res = io_fdsync( myctx , iocbps[i] , work_done , fd);
+ if ( res < 0 ) {
+ io_error("io_fsync write", res);
+ }
+ }
+ }
+ break;
+ default :
+ {
+
+ }
+ break;
+ }
+
+
+ close ( fd );
+
+ for ( i = 0 ; i < AIO_MAXIO ; i ++ ) {
+ if ( iocb_array[i].u.c.buf != NULL ) {
+ free ( iocb_array[i].u.c.buf );
+ }
+ }
+
+ io_queue_release ( myctx );
+
+ return 0;
+}
+
+int test_main(void)
+{
+ int status = 0 ;
+ //char *filepath = "testdir/file1";
+
+ printf("running test 1 \n");
+ status = io_tio( "testdir/file1" , O_TRUNC | O_DIRECT | O_WRONLY |O_CREAT | O_LARGEFILE , AIO_MAXIO , IO_CMD_PWRITE);
+ if ( status ) {
+ return status;
+ }
+
+ printf("running test 2 \n");
+ status = io_tio( "testdir/file1" , O_RDONLY | O_DIRECT | O_LARGEFILE
, AIO_MAXIO , IO_CMD_PREAD);
+ if ( status ) {
+ return status;
+ }
+
+ printf("running test 3 \n");
+ status = io_tio( "testdir/file1" , O_TRUNC | O_RDWR , AIO_MAXIO ,IO_CMD_PWRITE );
+ if ( status ) {
+ return status;
+ }
+
+ printf("running test 4 \n");
+ status = io_tio( "testdir/file1" , O_RDWR , AIO_MAXIO , IO_CMD_PREAD );
+ if ( status ) {
+ return status;
+ }
+
+ printf("running test 5 \n");
+ status = io_tio( "testdir/file1" , O_TRUNC | O_WRONLY , AIO_MAXIO ,IO_CMD_PWRITE );
+ if ( status ) {
+ return status;
+ }
+
+ printf("running test 6 \n");
+ status = io_tio( "testdir/file1" , O_RDONLY , AIO_MAXIO , IO_CMD_PREAD );
+ if ( status ) {
+ return status;
+ }
+
+ printf("running test 7 \n");
+ status = io_tio( "testdir/file2" , O_TRUNC | O_DIRECT | O_WRONLY |O_CREAT | O_LARGEFILE ,
+ AIO_MAXIO , IO_CMD_FSYNC);
+ if ( status ) {
+ return status;
+ }
+
+ printf("running test 8 \n");
+ status = io_tio( "testdir/file2" , O_TRUNC | O_DIRECT | O_WRONLY |O_CREAT | O_LARGEFILE ,
+ AIO_MAXIO , IO_CMD_FDSYNC);
+ if ( status ) {
+ return status;
+ }
+
+ return status;
+}
+
Index: testcases/kernel/io/aio/aio02/common.h
===================================================================
RCS file: testcases/kernel/io/aio/aio02/common.h
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/io/aio/aio02/main.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/aio/aio02/main.c,v retrieving revision 1.6
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/io/direct_io/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/direct_io/Makefile,v retrieving revision 1.9
The rest of this diff is not shown. View the raw message.
$(LDFLAGS) $(LOADLIBES)
- rm -f diotest1.o
-
-diotest2: diotest2.c diotest_routines.o
- $(CC) -o diotest2 diotest_routines.o diotest2.c $(CFLAGS) $(LDFLAGS)
$(LOADLIBES)
- rm -f diotest2.o
-
-diotest3: diotest3.c diotest_routines.o
- $(CC) -o diotest3 diotest_routines.o diotest3.c $(CFLAGS) $(LDFLAGS)
$(LOADLIBES)
- rm -f diotest3.o
-
-diotest4: diotest4.c diotest_routines.o
- $(CC) -o diotest4 diotest_routines.o diotest4.c $(CFLAGS) $(LDFLAGS)
$(LOADLIBES)
- rm -f diotest4.o
+include $(top_srcdir)/include/mk/testcases.mk
-diotest5: diotest5.c diotest_routines.o
- $(CC) -o diotest5 diotest_routines.o diotest5.c $(CFLAGS) $(LDFLAGS)
$(LOADLIBES)
- rm -f diotest5.o
+CFLAGS += -DSHARED_OFILE -D_GNU_SOURCE
-diotest6: diotest6.c diotest_routines.o
- $(CC) -o diotest6 diotest_routines.o diotest6.c $(CFLAGS) $(LDFLAGS)
$(LOADLIBES)
- rm -f diotest6.o
+LDLIBS += -lpthread
-dma_thread_diotest7: dma_thread_diotest7.c
- $(CC) -g -o dma_thread_diotest7 dma_thread_diotest7.c -lpthread
+MAKE_TARGETS := $(patsubst %.c,%,$(filter-out
%diotest_routines.c,$(wildcard $(srcdir)/*.c)))
-clean:
- rm -f $(BINS) diotest_routines.o
+$(MAKE_TARGETS): %: diotest_routines.o
-install:
- ln -f $(BINS) ../../../bin
- ln -f test_dma_thread_diotest7.sh ../../../bin/
+INSTALL_TARGETS := test_dma_thread_diotest7.sh
+$(eval $(generic_leaf_target))
Index: testcases/kernel/io/direct_io/test_dma_thread_diotest7.sh
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/direct_io/test_dma_thread_diotest7.sh,v retrieving revision 1.3
diff -u -r1.3 test_dma_thread_diotest7.sh
--- testcases/kernel/io/direct_io/test_dma_thread_diotest7.sh 18 Apr
2009 18:53:21 -0000 1.3
+++ testcases/kernel/io/direct_io/test_dma_thread_diotest7.sh 19 Aug
2009 03:15:06 -0000
@@ -20,6 +20,10 @@
##
##
################################################################################
+export TCID=dma_thread_diotest7
+export TST_TOTAL=3
+export TST_COUNT=3
+
tst_resm TINFO "Generating Test Files"
./dma_thread_diotest7
Index: testcases/kernel/io/ltp-aiodio/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/ltp-aiodio/Makefile,v retrieving revision 1.6
The rest of this diff is not shown. View the raw message.
dio_sparse dio_truncate dirty read_checkzero aio-stress -SRCS=$(wildcard *.c)
-OBJS=$(patsubst %.c,%.o,$(SRCS))
+include $(top_srcdir)/include/mk/testcases.mk
-all: $(TARGETS)
+CPPFLAGS += -DAIO
-ltp-diorh: ltp-diorh.o
- $(CC) -o $@ $^ -I. $(CFLAGS) $(LDLIBS)
+LDLIBS += -lpthread $(AIO_LIBS)
-aiocp: aiocp.o
- $(CC) -o $@ $^ -I. $(CFLAGS) $(LDLIBS)
-
-aiodio_append: aiodio_append.o
- $(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)
-
-aiodio_sparse: aiodio_sparse.o
- $(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)
-
-dio_append: dio_append.o
- $(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)
-
-dio_sparse: dio_sparse.o
- $(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)
-
-dio_truncate: dio_truncate.o
- $(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)
-
-dirty: dirty.o
- $(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)
-
-read_checkzero: read_checkzero.o
- $(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)
-
-aio-stress: aio-stress.o
- $(CC) -o $@ $^ $(CFLAGS) $(LDLIBS) -lpthread
-
-install:
- @set -e; for i in $(TARGETS) ; do ln -f $$i ../../../bin/$$i ; done ;
-
-clean:
- rm -f $(OBJS) $(TARGETS)
+$(eval $(generic_leaf_target))
Index: testcases/kernel/io/stress_cd/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/stress_cd/Makefile,v retrieving revision 1.5
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/io/stress_floppy/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/stress_floppy/Makefile,v retrieving revision 1.8
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/io/writetest/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/io/writetest/Makefile,v retrieving revision 1.7
The rest of this diff is not shown. View the raw message.
- $(RM) -f writetest
+LDLIBS += -lpthread
+
+$(eval $(generic_leaf_target))
Index: testcases/kernel/ipc/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/ipc/Makefile,v retrieving revision 1.4
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/ipc/ipc_stress/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/ipc/ipc_stress/Makefile,v retrieving revision 1.8
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/ipc/pipeio/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/ipc/pipeio/Makefile,v retrieving revision 1.9
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/ipc/semaphore/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/ipc/semaphore/Makefile,v retrieving revision 1.5
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/Makefile,v retrieving revision 1.12
The rest of this diff is not shown. View the raw message.
shmt vmtests
+#
+# kernel/mem test suite Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-all:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done
+top_srcdir ?= ../../..
-install:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done
+include $(top_srcdir)/include/mk/master_include.mk
-clean:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean ; done
+LIB := $(libdir)/libmm.a
+LIBDIR := libmm
+
+FILTER_OUT_DIRS := $(LIBDIR)
+
+# Make the target the real lib so we don't have to deal with rebuilding this +# every time the dependency is evaluated, like with PHONY rules. +$(LIB):
+ $(MAKE) -C $(builddir)/$(LIBDIR)
+
+trunk-all: $(LIB)
+
+$(eval $(generic_trunk_target))
Index: testcases/kernel/mem/Makefile.inc
===================================================================
RCS file: testcases/kernel/mem/Makefile.inc
kernel/mem/Makefile.inc new file +45 -0
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/hugetlb/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/hugetlb/Makefile,v retrieving revision 1.6
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/hugetlb/Makefile.inc
===================================================================
RCS file: testcases/kernel/mem/hugetlb/Makefile.inc
kernel/mem/hugetlb/Makefile.inc new file +44 -0
44 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/hugetlb/hugemmap/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/hugetlb/hugemmap/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/kernel/mem/hugetlb/hugemmap/Makefile 19 Apr 2004
21:47:15 -0000 1.1
+++ testcases/kernel/mem/hugetlb/hugemmap/Makefile 19 Aug 2009 03:15:06 -0000
@@ -1,13 +1,25 @@
-CFLAGS += -I../../../../../include -g -Wall
-LOADLIBES += -L../../../../../lib -lltp
+#
+# kernel/mem/hugetlb/hugemmap testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-SRCS=$(wildcard *.c)
-TARGETS=$(patsubst %.c,%,$(SRCS))
+include ../Makefile.inc
-all: $(TARGETS)
-
-install:
- @set -e; for i in $(TARGETS) ; do ln -f $$i ../../../../bin/$$i ; done ;
-
-clean:
- rm -f $(TARGETS)
+$(eval $(generic_leaf_target))
Index: testcases/kernel/mem/hugetlb/hugeshmat/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/hugetlb/hugeshmat/Makefile,v retrieving revision 1.3
diff -u -r1.3 Makefile
--- testcases/kernel/mem/hugetlb/hugeshmat/Makefile 15 Apr 2004
21:25:26 -0000 1.3
+++ testcases/kernel/mem/hugetlb/hugeshmat/Makefile 19 Aug 2009 03:15:06 -0000
@@ -1,13 +1,25 @@
-CFLAGS += -I../lib -I../../../../../include -g -Wall
-LOADLIBES += -L../../../../../lib -lltp -L../lib -lipc
+#
+# kernel/mem/hugetlb/hugemmap testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-SRCS=$(wildcard *.c)
-TARGETS=$(patsubst %.c,%,$(SRCS))
+include ../Makefile.inc
-all: $(TARGETS)
-
-install:
- @set -e; for i in $(TARGETS) ; do ln -f $$i ../../../../bin/$$i ; done ;
-
-clean:
- rm -f $(TARGETS)
+$(eval $(generic_leaf_target))
Index: testcases/kernel/mem/hugetlb/hugeshmctl/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/Makefile,v retrieving revision 1.1
diff -u -r1.1 Makefile
--- testcases/kernel/mem/hugetlb/hugeshmctl/Makefile 15 Apr 2004
22:25:58 -0000 1.1
+++ testcases/kernel/mem/hugetlb/hugeshmctl/Makefile 19 Aug 2009 03:15:06 -0000
@@ -1,13 +1,25 @@
-CFLAGS += -I../lib -I../../../../../include -g -Wall
-LOADLIBES += -L../../../../../lib -lltp -L../lib -lipc
+#
+# kernel/mem/hugetlb/hugeshmctl testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-SRCS=$(wildcard *.c)
-TARGETS=$(patsubst %.c,%,$(SRCS))
+include ../Makefile.inc
-all: $(TARGETS)
-
-install:
- @set -e; for i in $(TARGETS) ; do ln -f $$i ../../../../bin/$$i ; done ;
-
-clean:
- rm -f $(TARGETS)
+$(eval $(generic_leaf_target))
Index: testcases/kernel/mem/hugetlb/hugeshmdt/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/Makefile,v retrieving revision 1.2
diff -u -r1.2 Makefile
--- testcases/kernel/mem/hugetlb/hugeshmdt/Makefile 15 Apr 2004
21:25:26 -0000 1.2
+++ testcases/kernel/mem/hugetlb/hugeshmdt/Makefile 19 Aug 2009 03:15:06 -0000
@@ -1,13 +1,25 @@
-CFLAGS += -I../lib -I../../../../../include -g -Wall
-LOADLIBES += -L../../../../../lib -lltp -L../lib -lipc
+#
+# kernel/mem/hugetlb/hugeshmdt testcase Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-SRCS=$(wildcard *.c)
-TARGETS=$(patsubst %.c,%,$(SRCS))
+include ../Makefile.inc
-all: $(TARGETS)
-
-install:
- @set -e; for i in $(TARGETS) ; do ln -f $$i ../../../../bin/$$i ; done ;
-
-clean:
- rm -f $(TARGETS)
+$(eval $(generic_leaf_target))
Index: testcases/kernel/mem/hugetlb/hugeshmget/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/hugetlb/hugeshmget/Makefile,v retrieving revision 1.3
diff -u -r1.3 Makefile
--- testcases/kernel/mem/hugetlb/hugeshmget/Makefile 15 Apr 2004
21:25:26 -0000 1.3
+++ testcases/kernel/mem/hugetlb/hugeshmget/Makefile 19 Aug 2009 03:15:06 -0000
@@ -1,13 +1,21 @@
-CFLAGS += -I../lib -I../../../../../include -g -Wall
-LOADLIBES += -L../../../../../lib -lltp -L../lib -lipc
+#
+# Copyright (c) International Business Machines Corp., 2001
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See +# the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
-SRCS=$(wildcard *.c)
-TARGETS=$(patsubst %.c,%,$(SRCS))
+include ../Makefile.inc
-all: $(TARGETS)
-
-install:
- @set -e; for i in $(TARGETS) ; do ln -f $$i ../../../../bin/$$i ; done ;
-
-clean:
- rm -f $(TARGETS)
+$(eval $(generic_leaf_target))
Index: testcases/kernel/mem/hugetlb/lib/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/hugetlb/lib/Makefile,v retrieving revision 1.3
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/libmm/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/libmm/Makefile,v retrieving revision 1.2
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/mem/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/mem/Makefile,v retrieving revision 1.3
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/mmapstress/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/mmapstress/Makefile,v retrieving revision 1.2
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/mtest01/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/mtest01/Makefile,v retrieving revision 1.6
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/mtest05/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/mtest05/Makefile,v retrieving revision 1.7
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/mtest06/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/mtest06/Makefile,v retrieving revision 1.8
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/mtest07/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/mtest07/Makefile,v retrieving revision 1.7
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/page/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/page/Makefile,v retrieving revision 1.2
kernel/mem/page/Makefile +21 -30
51 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/shmt/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/shmt/Makefile,v retrieving revision 1.3
kernel/mem/shmt/Makefile +20 -29
49 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/mem/vmtests/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/mem/vmtests/Makefile,v retrieving revision 1.3
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/module/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/module/Makefile,v retrieving revision 1.2
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/module/delete_module/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/module/delete_module/Makefile,v retrieving revision 1.6
diff -u -r1.6 Makefile
--- testcases/kernel/module/delete_module/Makefile 28 Mar 2008
08:25:42 -0000 1.6
+++ testcases/kernel/module/delete_module/Makefile 19 Aug 2009 03:15:06 -0000
@@ -14,40 +14,40 @@
# Temple Place - Suite 330, Boston MA 02111-1307, USA.
#
###########################################################################
-# name of file : Makefile #
-# description : make file for the delete_module(2) testcases #
+# name of file : Makefile #
+# description : make file for the delete_module(2) testcases #
###########################################################################
-EXTRA_CFLAGS+= -I../../../../include -Wall
-MODCFLAGS+= /lib/modules/uname -r/build
-LOADLIBES+= -L../../../../lib -lltp
-
-obj-m := dummy_del_mod.o dummy_del_mod_dep.o
-TARGETS=delete_module01 delete_module02 delete_module03 -MODULES=dummy_del_mod.ko dummy_del_mod_dep.ko
-
-all: $(TARGETS)
- make -C $(MODCFLAGS) SUBDIRS=pwd modules
-# chmod 755 $(OBJS)
-
-delete_module01: delete_module01.c
- $(CC) $(EXTRA_CFLAGS) delete_module01.c $(LOADLIBES) -o $@
-
-delete_module02: delete_module02.c
- $(CC) $(EXTRA_CFLAGS) delete_module02.c $(LOADLIBES) -o $@
-
-delete_module03: delete_module03.c
- $(CC) $(EXTRA_CFLAGS) delete_module03.c $(LOADLIBES) -o $@
-
-install:
- @set -e; for i in $(TARGETS); do ln -f $$i ../../../bin/$$i ; done
- @set -e; for i in $(MODULES); do cp -f $$i /tmp/$$i ; done
-
-clean:
- rm -f $(TARGETS)
- rm -rf .tmp_versions
- rm -f /tmp/dummy*.ko
- rm -f .dummy*
- rm -f *.o
- rm -f *.ko
- rm -f *.mod.c
+top_srcdir ?= ../../../..
+
+include $(top_srcdir)/include/mk/testcases.mk
+
+CFLAGS += -D_GNU_SOURCE
+
+LOCALVERSION ?= $(shell uname -r)
+
+MODULEDIR := $(DESTDIR)/lib/modules/$(LOCALVERSION)/build
+
+# KBuild make variables...
+MODCFLAGS += $(MODULEDIR)
+
+export EXTRA_CFLAGS := $(CFLAGS)
+export EXTRA_CPPFLAGS := $(CPPFLAGS)
+export EXTRA_LDFLAGS := $(LDFLAGS)
+
+obj-m := dummy_del_mod.o dummy_del_mod_dep.o
+MODULES := dummy_del_mod.ko dummy_del_mod_dep.ko
+
+# New make infra variables...
+CLEAN_TARGETS := .dummy* *.mod.c .tmp_version *.ko
+INSTALL_TARGETS := $(MODULES)
+MAKE_TARGETS := delete_module01 delete_module02 delete_module03
+
+$(eval $(generic_leaf_target))
+
+$(MAKE_TARGETS): | make-module
+
+# KBuild will gripe because we redefine CFLAGS if KBUILD_NOPEDANTIC isn't set. +.PHONY: make-module
+make-module:
+ make -C $(MODULEDIR) KBUILD_NOPEDANTIC=1 SUBDIRS=$(srcdir) modules
Index: testcases/kernel/module/delete_module/delete_module01.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/module/delete_module/delete_module01.c,v retrieving revision 1.7
diff -u -r1.7 delete_module01.c
--- testcases/kernel/module/delete_module/delete_module01.c 26 Feb
2009 12:14:53 -0000 1.7
+++ testcases/kernel/module/delete_module/delete_module01.c 19 Aug
2009 03:15:06 -0000
@@ -32,7 +32,7 @@
*
* DESCRIPTION
* This is a Phase I test for the delete_module(2) system call.
- * It is intended to provide a limited exposure of the system call.
+ * It is intended to provide limited exposure of the system call.
*
* Setup:
* Setup signal handling.
@@ -44,8 +44,8 @@
* Loop if the proper options are given.
* Create module entry * Execute system call - * Check return code, if system call failed (return=-1) - * Issue FAIL message with errno. + * Check return code, if system call failed (return=-1), + * issue a FAIL message with the errno. * Otherwise, Issue PASS message.
*
* Cleanup:
@@ -54,128 +54,132 @@
* USAGE: <for command-line>
* delete_module01 [-c n] [-e] [-f] [-h] [-i n] [-I x] [-p] [-P x] [-t]
* where, -c n : Run n copies concurrently. - * -e : Turn on errno logging. - * -f : Turn off functional testing - * -h : Show help screen
- * -i n : Execute test n times.
- * -I x : Execute test for x seconds.
- * -p : Pause for SIGUSR1 before starting
- * -P x : Pause for x seconds between iterations.
- * -t : Turn on syscall timing.
+ * -e : Turn on errno logging.
+ * -f : Turn off functional testing
+ * -h : Show help screen
+ * -i n : Execute test n times.
+ * -I x : Execute test for x seconds.
+ * -p : Pause for SIGUSR1 before
+ * starting test.
+ * -P x : Pause for x seconds between
+ * iterations.
+ * -t : Turn on syscall timing.
* ****************************************************************/
+
+#include <libgen.h>
#include <errno.h>
-//#include <linux/module.h>
#include "test.h"
#include "usctest.h"
-extern int Tst_count; /* Test Case counter for tst_* routines */
+extern int Tst_count; /* TC counter for tst_* routines */
static void setup(void);
static void cleanup(void);
char *TCID = "delete_module01"; /* Test program identifier. */
-int TST_TOTAL=1; /* Total number of test cases. */
-//static char modname[20]; /* Name of the module */
-
+int TST_TOTAL = 1; /* Total number of test cases. */
int
main(int argc, char **argv)
{
- int lc; /* loop counter */
- char *msg; /* message returned from parse_opts */
- char cmd[PATH_MAX];
- char *module_name = "dummy_del_mod";
-
- /* parse standard options */
- if ((msg = parse_opts(argc, argv, (option_t *)NULL, NULL)) !=
- (char *)NULL) {
- tst_brkm(TBROK, tst_exit, "OPTION PARSING ERROR - %s", msg);
- }
-
- /* perform global setup for test */
- setup();
-
- /* check looping state if -i option is given */
- for (lc = 0; TEST_LOOPING(lc); lc++) {
-
- /* reset Tst_count in case we are looping */
- Tst_count = 0;
-
- // Execute system call
- sprintf(cmd, "/sbin/insmod /tmp/%s.ko", module_name);
-
- // Insmod the module
- if ( (system( cmd )) != 0 ) {
- tst_resm(TBROK, "Failed to load %s module", module_name);
- printf("system() failed; cannot test init_module: errno=%i\n",
- errno);
- goto EXIT;
- }
-
- /* Test the system call */
- TEST(delete_module(module_name));
-
- /* check return code */
- if (TEST_RETURN == -1) {
- tst_resm(TFAIL, "delete_module() failed to remove"
- " module entry for %s, errno=%d : %s",
- module_name, TEST_ERRNO, strerror(TEST_ERRNO));
- } else {
- tst_resm(TPASS, "delete_module() successful, returned"
- " %d", TEST_RETURN);
- }
- }
+ int lc; /* loop counter */
+ char *msg; /* message returned from parse_opts */
+ char cmd[PATH_MAX];
+ char *module_name = "dummy_del_mod";
+
+ /* parse standard options */
+ if ((msg = parse_opts(argc, argv, (option_t *)NULL, NULL)) !=
+ (char *) NULL) {
+ tst_brkm(TBROK, tst_exit, "OPTION PARSING ERROR - %s", msg);
+ }
+
+ /* perform global setup for test */
+ setup();
+
+ /* check looping state if -i option is given */
+ for (lc = 0; TEST_LOOPING(lc); lc++) {
+
+ /* reset Tst_count in case we are looping */
+ Tst_count = 0;
+
+ /* Execute system call */
+ sprintf(cmd, "/sbin/insmod %s/%s.ko", dirname(argv[0]),
+ module_name);
+
+ /* Insmod the module */
+ if ( (system( cmd )) != 0 ) {
+ tst_resm(TBROK, "Failed to load %s module",
+ module_name);
+ printf("system() failed; cannot test init_module: "
+ "errno=%i\n", errno);
+ goto EXIT;
+ }
+
+ /* Test the system call */
+ TEST(delete_module(module_name));
+
+ /* check return code */
+ if (TEST_RETURN == -1) {
+ tst_resm(TFAIL, "delete_module() failed to remove"
+ " module entry for %s, errno=%d : %s",
+ module_name, TEST_ERRNO,
+ strerror(TEST_ERRNO));
+ } else {
+ tst_resm(TPASS, "delete_module() successful, returned"
+ " %d", TEST_RETURN);
+ }
- /* perform global cleanup and exit */-EXIT:
- cleanup();
+ }
- /*NOTREACHED*/
- return 0;
+ /* perform global cleanup and exit */
+EXIT:
+ cleanup();
+ /*NOTREACHED*/
+ return 0;
-} /* End main */
+} /* End main */
/* setup() - performs all ONE TIME setup for this test */ void
setup(void)
{
- /* capture signals */
- tst_sig(FORK, DEF_HANDLER, cleanup);
+ /* capture signals */
+ tst_sig(FORK, DEF_HANDLER, cleanup);
- /* Check whether we are root */
- if (geteuid() != 0) {
- tst_brkm(TBROK, tst_exit, "Must be root for this test!");
- /*NOTREACHED*/
- }
-
- //if (tst_kvercmp(2,5,48) >= 0)
- //tst_brkm(TCONF, tst_exit, "This test will not work on "
- //"kernels after 2.5.48");
-
- /* Pause if that option was specified
- * TEST_PAUSE contains the code to fork the test with the -c option.
- */
- TEST_PAUSE;
+ /* Check whether we are root */
+ if (geteuid() != 0) {
+ tst_brkm(TBROK, tst_exit, "Must be root for this test!");
+ /*NOTREACHED*/
+ }
+
+ /*
+ * if (tst_kvercmp(2,5,48) >= 0)
+ * tst_brkm(TCONF, tst_exit, "This test will not work on "
+ * "kernels after 2.5.48");
+ */
+ /* Pause if that option was specified
+ * TEST_PAUSE contains the code to fork the test with the -c option.
+ */
+ TEST_PAUSE;
}
/*
* cleanup()
- * performs all ONE TIME cleanup for this test at
- * completion or premature exit
+ * performs all ONE TIME cleanup for this test at
+ * completion or premature exit
*/
void
cleanup(void)
{
- /*
- * print timing stats if that option was specified. - * print errno log if that option was specified. - */
- TEST_CLEANUP;
-
- /* exit with return code appropriate for results */
- tst_exit();
- /*NOTREACHED*/
+ /*
+ * print timing stats if that option was specified.
+ * print errno log if that option was specified.
+ */
+ TEST_CLEANUP;
+
+ /* exit with return code appropriate for results */
+ tst_exit();
+ /*NOTREACHED*/
}
-
Index: testcases/kernel/module/delete_module/delete_module02.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/module/delete_module/delete_module02.c,v retrieving revision 1.6
diff -u -r1.6 delete_module02.c
--- testcases/kernel/module/delete_module/delete_module02.c 26 Feb
2009 12:02:28 -0000 1.6
+++ testcases/kernel/module/delete_module/delete_module02.c 19 Aug
2009 03:15:06 -0000
@@ -32,8 +32,8 @@
*
* DESCRIPTION
* Verify that,
- * 1. delete_module(2) returns -1 and sets errno to ENOENT for
non-existing
- * module entry.
+ * 1. delete_module(2) returns -1 and sets errno to ENOENT for nonexistent
+ * module entry.
* 2. delete_module(2) returns -1 and sets errno to EINVAL, if module
* name parameter is null terminated (zero length) string.
* 3. delete_module(2) returns -1 and sets errno to EFAULT, if
@@ -68,14 +68,16 @@
* USAGE: <for command-line>
* delete_module02 [-c n] [-e] [-f] [-h] [-i n] [-I x] [-p] [-P x] [-t]
* where, -c n : Run n copies concurrently. - * -e : Turn on errno logging. - * -f : Turn off functional testing - * -h : Show help screen
- * -i n : Execute test n times.
- * -I x : Execute test for x seconds.
- * -p : Pause for SIGUSR1 before starting
- * -P x : Pause for x seconds between iterations.
- * -t : Turn on syscall timing.
+ * -e : Turn on errno logging. + * -f : Turn off functional testing + * -h : Show help screen
+ * -i n : Execute test n times.
+ * -I x : Execute test for x seconds.
+ * -p : Pause for SIGUSR1 before
+ * starting test.
+ * -P x : Pause for x seconds between
+ * iterations.
+ * -t : Turn on syscall timing.
* ****************************************************************/
@@ -84,38 +86,43 @@
#include <sys/types.h>
#include <unistd.h>
#include <limits.h>
-//#include <linux/module.h>
+#if HAVE_LINUX_MODULE_H
+#include <linux/module.h>
+#else
+/* As per http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/include/linux/moduleparam.h?a=ppc#L17
... */
+#define MODULE_NAME_LEN ( 64 - sizeof(unsigned long) )
+#endif
#include <sys/mman.h>
#include "test.h"
#include "usctest.h"
-#ifndef PAGE_SIZE
-#define PAGE_SIZE sysconf(_SC_PAGE_SIZE)
-#endif
-
extern int Tst_count;
#define NULLMODNAME ""
#define BASEMODNAME "dummy"
-#define LONGMODNAMECHAR 'm' /* Arbitrarily selected */
-#define MODNAMEMAX (PAGE_SIZE + 1)
+#define LONGMODNAMECHAR 'm' /* Arbitrarily selected */
#define EXP_RET_VAL -1
-struct test_case_t { /* test case structure */
- char *modname;
- int experrno; /* expected errno */
- char *desc;
- int (*setup)(void); /* Individual setup routine */
- void (*cleanup)(void); /* Individual cleanup routine */
+/* Test case structure */
+struct test_case_t {
+ char *modname;
+ /* Expected errno. */
+ int experrno;
+ char *desc;
+ /* Individual setup routine. */
+ int (*setup)(void);
+ /* Individual cleanup routine */
+ void (*cleanup)(void);
};
char *TCID = "delete_module02";
-static int exp_enos[] = {EPERM, EINVAL, ENOENT, EFAULT, ENAMETOOLONG, 0}; +static int exp_enos[] = { EPERM, EINVAL, ENOENT, EFAULT, ENAMETOOLONG, 0 };
static char nobody_uid[] = "nobody";
struct passwd *ltpuser;
-static char longmodname[MODNAMEMAX];
+static char longmodname[MODULE_NAME_LEN];
static int testno;
-static char modname[20]; /* Name of the module */
+/* Name of the module */
+static char modname[20];
char * bad_addr = 0;
@@ -124,17 +131,20 @@
static int setup1(void);
static void cleanup1(void);
+struct test_case_t;
+
static struct test_case_t tdat[] = {
{ modname, ENOENT,
- "non-existing module", NULL, NULL},
+ "nonexistent module", NULL, NULL},
{ NULLMODNAME, ENOENT,
- "null terminated module name", NULL, NULL},
- { (char *) -1, EFAULT, "module name outside program's "
- "accessible address space", NULL, NULL},
+ "null terminated module name", NULL, NULL},
+ { (char *) -1, EFAULT,
+ "module name outside program's "
+ "accessible address space", NULL, NULL},
{ longmodname, ENOENT,
- "long module name", NULL, NULL},
+ "long module name", NULL, NULL},
{ modname, EPERM,
- "non-superuser", setup1, cleanup1},
+ "non-superuser", setup1, cleanup1},
};
int TST_TOTAL = sizeof(tdat) / sizeof(tdat[0]);
@@ -142,145 +152,146 @@
int
main(int argc, char **argv)
{
- int lc; /* loop counter */
- char *msg; /* message returned from parse_opts */
+ int lc; /* loop counter */
+ char *msg; /* message returned from parse_opts */
- /* parse standard options */
- if ((msg = parse_opts(argc, argv, (option_t *)NULL, NULL)) !=
- (char *)NULL) {
- tst_brkm(TBROK, tst_exit, "OPTION PARSING ERROR - %s", msg);
- }
-
- setup();
-
- /* check looping state if -i option is given */
- for (lc = 0; TEST_LOOPING(lc); lc++) {
- /* reset Tst_count in case we are looping */
- Tst_count = 0;
-
- for (testno = 0; testno < TST_TOTAL; ++testno) {
- if( (tdat[testno].setup) && (tdat[testno].setup()) ) {
- /* setup() failed, skip this test */
- continue;
- }
-
- /* Test the system call */
- TEST(delete_module(tdat[testno].modname));
- TEST_ERROR_LOG(TEST_ERRNO);
- printf("TEST_RETURN is %d, TEST_ERRNO is %d\n", TEST_RETURN,TEST_ERRNO);
- if ( (TEST_RETURN == EXP_RET_VAL) &&
- (TEST_ERRNO == tdat[testno].experrno) ) {
- tst_resm(TPASS, "Expected results for %s, "
- "errno: %d", tdat[testno].desc,
- TEST_ERRNO);
- } else {
- tst_resm(TFAIL, "Unexpected results for %s ; "
- "returned %d (expected %d), errno %d "
- "(expected %d)", tdat[testno].desc,
- TEST_RETURN, EXP_RET_VAL,
- TEST_ERRNO, tdat[testno].experrno);
- }
- if(tdat[testno].cleanup) {
- tdat[testno].cleanup();
- }
- }
- }
- cleanup();
+ /* parse standard options */
+ if ((msg = parse_opts(argc, argv, (option_t *)NULL, NULL)) !=
+ (char *)NULL) {
+ tst_brkm(TBROK, tst_exit, "OPTION PARSING ERROR - %s", msg);
+ }
+
+ setup();
+
+ /* check looping state if -i option is given */
+ for (lc = 0; TEST_LOOPING(lc); lc++) {
+ /* reset Tst_count in case we are looping */
+ Tst_count = 0;
+
+ for (testno = 0; testno < TST_TOTAL; ++testno) {
+ if( (tdat[testno].setup) && (tdat[testno].setup()) ) {
+ /* setup() failed, skip this test */
+ continue;
+ }
+ /* Test the system call */
+ TEST(delete_module(tdat[testno].modname));
+ TEST_ERROR_LOG(TEST_ERRNO);
+ printf("TEST_RETURN is %d, TEST_ERRNO is %d\n",
+ TEST_RETURN, TEST_ERRNO);
+ if ( (TEST_RETURN == EXP_RET_VAL) &&
+ (TEST_ERRNO == tdat[testno].experrno) ) {
+ tst_resm(TPASS, "Expected results for %s, "
+ "errno: %d", tdat[testno].desc,
+ TEST_ERRNO);
+ } else {
+ tst_resm(TFAIL, "Unexpected results for %s ; "
+ "returned %d (expected %d), "
+ "errno %d (expected %d)",
+ tdat[testno].desc,
+ TEST_RETURN, EXP_RET_VAL,
+ TEST_ERRNO,
+ tdat[testno].experrno);
+ }
+ if(tdat[testno].cleanup) {
+ tdat[testno].cleanup();
+ }
+ }
+ }
+ cleanup();
- /*NOTREACHED*/
- return 0;
+ /*NOTREACHED*/
+ return 0;
}
int
setup1(void)
{
- /* Change effective user id to nodody */
- if (seteuid(ltpuser->pw_uid) == -1) {
- tst_resm(TBROK, "seteuid failed to set the effective"
- " uid to %d", ltpuser->pw_uid);
- return 1;
- }
- return 0;
+ /* Change effective user id to nodody */
+ if (seteuid(ltpuser->pw_uid) == -1) {
+ tst_resm(TBROK, "seteuid failed to set the effective"
+ " uid to %d", ltpuser->pw_uid);
+ return 1;
+ }
+ return 0;
}
void
cleanup1(void)
{
- /* Change effective user id to root */
- if (seteuid(0) == -1) {
- tst_brkm(TBROK, tst_exit, "seteuid failed to set the effective"
- " uid to root");
- }
+ /* Change effective user id to root */
+ if (seteuid(0) == -1) {
+ tst_brkm(TBROK, tst_exit, "seteuid failed to set the effective"
+ " uid to root");
+ }
}
/*
* setup()
- * performs all ONE TIME setup for this test
+ * performs all ONE TIME setup for this test
*/
void
setup(void)
{
- /* capture signals */
- tst_sig(NOFORK, DEF_HANDLER, cleanup);
+ /* capture signals */
+ tst_sig(NOFORK, DEF_HANDLER, cleanup);
- /* Check whether it is root */
- if (geteuid() != 0) {
- tst_brkm(TBROK, tst_exit, "Must be root for this test!");
- /*NOTREACHED*/
- }
-
- /*if (tst_kvercmp(2,5,48) >= 0)
- tst_brkm(TCONF, tst_exit, "This test will not work on "
- "kernels after 2.5.48");
- */
-
- /* Check for nobody_uid user id */
- if( (ltpuser = getpwnam(nobody_uid)) == NULL) {
- tst_brkm(TBROK, tst_exit, "Required user %s doesn't exists",
- nobody_uid);
- /*NOTREACHED*/
- }
-
- /* Initialize longmodname to LONGMODNAMECHAR character */
- memset(longmodname, LONGMODNAMECHAR, MODNAMEMAX - 1);
-
- /* set the expected errnos... */
- TEST_EXP_ENOS(exp_enos);
-
- /* Pause if that option was specified
- * TEST_PAUSE contains the code to fork the test with the -c option.
- */
- TEST_PAUSE;
-
- /* Get unique module name for each child process */
- if( sprintf(modname, "%s_%d",BASEMODNAME, getpid()) <= 0) {
- tst_brkm(TBROK, tst_exit, "Failed to initialize module name");
- }
- bad_addr = mmap(0, 1, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0);
+ /* Check whether it is root */
+ if (geteuid() != 0) {
+ tst_brkm(TBROK, tst_exit, "Must be root for this test!");
+ /*NOTREACHED*/
+ }
+
+ /*if (tst_kvercmp(2,5,48) >= 0)
+ tst_brkm(TCONF, tst_exit, "This test will not work on "
+ "kernels after 2.5.48");
+ */
+
+ /* Check for nobody_uid user id */
+ if( (ltpuser = getpwnam(nobody_uid)) == NULL) {
+ tst_brkm(TBROK, tst_exit, "Required user %s doesn't exists",
+ nobody_uid);
+ /*NOTREACHED*/
+ }
+
+ /* Initialize longmodname to LONGMODNAMECHAR character */
+ memset(longmodname, LONGMODNAMECHAR, MODULE_NAME_LEN - 1);
+
+ /* set the expected errnos... */
+ TEST_EXP_ENOS(exp_enos);
+
+ /* Pause if that option was specified
+ * TEST_PAUSE contains the code to fork the test with the -c option.
+ */
+ TEST_PAUSE;
+
+ /* Get unique module name for each child process */
+ if( sprintf(modname, "%s_%d", BASEMODNAME, getpid()) <= 0) {
+ tst_brkm(TBROK, tst_exit, "Failed to initialize module name");
+ }
+ bad_addr = mmap(0, 1, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, 0, 0);
if (bad_addr == MAP_FAILED) {- tst_brkm(TBROK, cleanup, "mmap failed");
- }
- tdat[2].modname = bad_addr;
+ tst_brkm(TBROK, cleanup, "mmap failed");
+ }
+ tdat[2].modname = bad_addr;
}
/*
* cleanup()
- * performs all ONE TIME cleanup for this test at
- * completion or premature exit
+ * performs all ONE TIME cleanup for this test at
+ * completion or premature exit
*/
void
cleanup(void)
{
- /*
- * print timing stats if that option was specified. - * print errno log if that option was specified. - */
- TEST_CLEANUP;
-
- /* exit with return code appropriate for results */
- tst_exit();
- /*NOTREACHED*/
+ /*
+ * print timing stats if that option was specified.
+ * print errno log if that option was specified.
+ */
+ TEST_CLEANUP;
+
+ /* exit with return code appropriate for results */
+ tst_exit();
+ /*NOTREACHED*/
}
-
Index: testcases/kernel/module/delete_module/delete_module03.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/module/delete_module/delete_module03.c,v retrieving revision 1.6
diff -u -r1.6 delete_module03.c
--- testcases/kernel/module/delete_module/delete_module03.c 26 Feb
2009 12:02:28 -0000 1.6
+++ testcases/kernel/module/delete_module/delete_module03.c 19 Aug
2009 03:15:06 -0000
@@ -54,32 +54,35 @@
*
* USAGE: <for command-line>
* delete_module03 [-c n] [-e] [-f] [-h] [-i n] [-I x] [-p] [-P x] [-t]
- * where, -c n : Run n copies concurrently. (no effect) - * -e : Turn on errno logging. - * -f : Turn off functional testing - * -h : Show help screen
- * -i n : Execute test n times.
- * -I x : Execute test for x seconds.
- * -p : Pause for SIGUSR1 before starting
- * -P x : Pause for x seconds between iterations.
- * -t : Turn on syscall timing.
+ * where, -c n : Run n copies concurrently. (no
+ * effect)
+ * -e : Turn on errno logging. + * -f : Turn off functional testing + * -h : Show help screen
+ * -i n : Execute test n times.
+ * -I x : Execute test for x seconds.
+ * -p : Pause for SIGUSR1 before
+ * starting
+ * -P x : Pause for x seconds between
+ * iterations.
+ * -t : Turn on syscall timing.
*
* RESTRICTIONS
- * -c option has no effect for this testcase, even if used allows only
- * one instance to run at a time.
+ * -c option has no effect for this testcase, even if used allows
+ * only one instance to run at a time.
*
* CHANGELOG
*
- * 11/22/02 - Added "--force" to insmod options and redirected output to /dev/null.
- * This was done to allow kernel mismatches, b/c it
doesn't matter in
- * this case.
- * Robbie Williamson <[email protected]>
+ * 11/22/02 - Added "--force" to insmod options and redirected output to + * /dev/null. This was done to allow kernel mismatches, b/c it + * doesn't matter in this case.
+ * Robbie Williamson <[email protected]>
* ****************************************************************/
+#include <libgen.h>
#include <errno.h>
#include <pwd.h>
-//#include <linux/module.h>
#include "test.h"
#include "usctest.h"
@@ -89,10 +92,10 @@
#define DUMMY_MOD_DEP "dummy_del_mod_dep"
#define EXP_RET_VAL -1
#define EXP_ERRNO EWOULDBLOCK
-//#define EXP_ERRNO EBUSY
+/*#define EXP_ERRNO EBUSY */
char *TCID = "delete_module03";
-//static int exp_enos[] = {EBUSY, 0};
+/*static int exp_enos[] = {EBUSY, 0}; */
static int exp_enos[] = {EWOULDBLOCK, 0};
int TST_TOTAL = 1;
@@ -102,137 +105,138 @@
int
main(int argc, char **argv)
{
- int lc; /* loop counter */
- char *msg; /* message returned from parse_opts */
- char cmd[50];
-
- /* parse standard options */
- if ((msg = parse_opts(argc, argv, (option_t *)NULL, NULL)) !=
- (char *)NULL) {
- tst_brkm(TBROK, tst_exit, "OPTION PARSING ERROR - %s", msg);
- }
-
- if(STD_COPIES != 1) {
- tst_resm(TINFO, "-c option has no effect for this testcase - "
- "doesn't allow running more than one instance "
- "at a time");
- STD_COPIES = 1;
- }
-
- /* Load first kernel module */
- if( sprintf(cmd, "/sbin/insmod /tmp/%s.ko", DUMMY_MOD) <= 0) {
- tst_resm(TBROK, "sprintf failed");
- return 1;
- }
- if( (system(cmd)) != 0 ) {
- tst_resm(TBROK, "Failed to load %s module", DUMMY_MOD);
- return 1;
- }
-
- /* Load dependant kernel module */
- if( sprintf(cmd, "/sbin/insmod /tmp/%s.ko", DUMMY_MOD_DEP) <= 0) {
- tst_resm(TBROK, "sprintf failed");
- goto END;
- }
+ int lc; /* loop counter */
+ char *msg; /* message returned from parse_opts */
+ char cmd[50];
+
+ /* parse standard options */
+ if ((msg = parse_opts(argc, argv, (option_t*) NULL, NULL)) !=
+ (char *) NULL) {
+ tst_brkm(TBROK, tst_exit, "OPTION PARSING ERROR - %s", msg);
+ }
+
+ if(STD_COPIES != 1) {
+ tst_resm(TINFO, "-c option has no effect for this testcase - "
+ "doesn't allow running more than one instance "
+ "at a time");
+ STD_COPIES = 1;
+ }
+
+ /* Load first kernel module */
+ if( sprintf(cmd, "/sbin/insmod %s/%s.ko", dirname(argv[0]),
+ DUMMY_MOD) <= 0) {
+ tst_resm(TBROK, "sprintf failed");
+ return 1;
+ }
+ if( (system(cmd)) != 0 ) {
+ tst_resm(TBROK, "Failed to load %s module", DUMMY_MOD);
+ return 1;
+ }
+
+ /* Load dependant kernel module */
+ if( sprintf(cmd, "/sbin/insmod %s/%s.ko", dirname(argv[0]),
+ DUMMY_MOD_DEP) <= 0) {
+ tst_resm(TBROK, "sprintf failed");
+ goto END;
+ }
if( (system(cmd)) != 0 ) {
- tst_resm(TBROK, "Failed to load %s module", DUMMY_MOD_DEP);
- goto END;
+ tst_resm(TBROK, "Failed to load %s module", DUMMY_MOD_DEP);
+ goto END;
}- tst_tmpdir();
- if(setup() != 0) {
- return 1;
- }
-
- /* check looping state if -i option is given */
- for (lc = 0; TEST_LOOPING(lc); lc++) {
- /* reset Tst_count in case we are looping */
- Tst_count = 0;
-
- /* Test the system call */
- TEST(delete_module(DUMMY_MOD));
-
- TEST_ERROR_LOG(TEST_ERRNO);
- if ( (TEST_RETURN == (int) EXP_RET_VAL ) &&
- (TEST_ERRNO == EXP_ERRNO) ) {
- tst_resm(TPASS, "Expected failure for module in-use, "
- "errno: %d", TEST_ERRNO);
- } else {
- tst_resm(TFAIL, "Unexpected results for module in-use; "
- "returned %d (expected %d), errno %d "
- "(expected %d)", TEST_RETURN, EXP_RET_VAL,
- TEST_ERRNO, EXP_ERRNO);
- }
- }
- cleanup();
+ tst_tmpdir();
+ if(setup() != 0) {
+ return 1;
+ }
+
+ /* check looping state if -i option is given */
+ for (lc = 0; TEST_LOOPING(lc); lc++) {
+ /* reset Tst_count in case we are looping */
+ Tst_count = 0;
+
+ /* Test the system call */
+ TEST(delete_module(DUMMY_MOD));
+
+ TEST_ERROR_LOG(TEST_ERRNO);
+ if ( (TEST_RETURN == (int) EXP_RET_VAL ) &&
+ (TEST_ERRNO == EXP_ERRNO) ) {
+ tst_resm(TPASS, "Expected failure for module in-use, "
+ "errno: %d", TEST_ERRNO);
+ } else {
+ tst_resm(TFAIL, "Unexpected results for module in-use; "
+ "returned %d (expected %d), errno %d "
+ "(expected %d)", TEST_RETURN,
+ EXP_RET_VAL, TEST_ERRNO, EXP_ERRNO);
+ }
+ }
+ cleanup();
END:
- if(system("rmmod "DUMMY_MOD) != 0) {
- tst_resm(TBROK, "Failed to unload %s module", DUMMY_MOD);
- return 1;
- }
+ if(system("rmmod "DUMMY_MOD) != 0) {
+ tst_resm(TBROK, "Failed to unload %s module", DUMMY_MOD);
+ return 1;
+ }
- /*NOTREACHED*/
- return 0;
+ /*NOTREACHED*/
+ return 0;
}
/*
* setup()
- * performs all ONE TIME setup for this test
+ * performs all ONE TIME setup for this test
*/
int
setup(void)
{
- /* capture signals */
- tst_sig(FORK, DEF_HANDLER, cleanup);
+ /* capture signals */
+ tst_sig(FORK, DEF_HANDLER, cleanup);
- /* Check whether it is root */
- if (geteuid() != 0) {
- tst_resm(TBROK, "Must be root for this test!");
- return 1;
- }
-
- /*
- if (tst_kvercmp(2,5,48) >= 0)
- tst_brkm(TCONF, tst_exit, "This test will not work on "
- "kernels after 2.5.48");
- */
-
- /* set the expected errnos... */
- TEST_EXP_ENOS(exp_enos);
-
- /* Pause if that option was specified
- * TEST_PAUSE contains the code to fork the test with the -c option.
- */
- TEST_PAUSE;
- return 0;
+ /* Check whether it is root */
+ if (geteuid() != 0) {
+ tst_resm(TBROK, "Must be root for this test!");
+ return 1;
+ }
+
+ /*
+ if (tst_kvercmp(2,5,48) >= 0)
+ tst_brkm(TCONF, tst_exit, "This test will not work on "
+ "kernels after 2.5.48");
+ */
+
+ /* set the expected errnos... */
+ TEST_EXP_ENOS(exp_enos);
+
+ /* Pause if that option was specified
+ * TEST_PAUSE contains the code to fork the test with the -c option.
+ */
+ TEST_PAUSE;
+ return 0;
}
/*
* cleanup()
- * performs all ONE TIME cleanup for this test at
- * completion or premature exit
+ * performs all ONE TIME cleanup for this test at
+ * completion or premature exit
*/
void
cleanup(void)
{
- /* Unload dependent kernel module */
- if(system("rmmod "DUMMY_MOD_DEP) != 0) {
- tst_resm(TBROK, "Failed to unload %s module",
- DUMMY_MOD_DEP);
- }
- /* Unload first kernel module */
- if(system("rmmod "DUMMY_MOD) != 0) {
- tst_resm(TBROK, "Failed to unload %s module",
- DUMMY_MOD);
- }
- /*
- * print timing stats if that option was specified. - * print errno log if that option was specified. - */
- TEST_CLEANUP;
- tst_rmdir();
- /* exit with return code appropriate for results */
- tst_exit();
- /*NOTREACHED*/
+ /* Unload dependent kernel module */
+ if(system("rmmod "DUMMY_MOD_DEP) != 0) {
+ tst_resm(TBROK, "Failed to unload %s module", DUMMY_MOD_DEP);
+ }
+ /* Unload first kernel module */
+ if(system("rmmod "DUMMY_MOD) != 0) {
+ tst_resm(TBROK, "Failed to unload %s module",
+ DUMMY_MOD);
+ }
+ /*
+ * print timing stats if that option was specified.
+ * print errno log if that option was specified.
+ */
+ TEST_CLEANUP;
+ tst_rmdir();
+ /* exit with return code appropriate for results */
+ tst_exit();
+ /*NOTREACHED*/
}
Index: testcases/kernel/module/delete_module/dummy_del_mod.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/module/delete_module/dummy_del_mod.c,v retrieving revision 1.6
diff -u -r1.6 dummy_del_mod.c
--- testcases/kernel/module/delete_module/dummy_del_mod.c 26 Feb 2009
12:02:28 -0000 1.6
+++ testcases/kernel/module/delete_module/dummy_del_mod.c 19 Aug 2009
03:15:06 -0000
@@ -20,7 +20,10 @@
* setup.
*************************************************************************/
+#ifndef MODULE
#define MODULE
+#endif
+
/* #define __KERNEL__ Commented this line out b/c it causes errors with
* module.h when it calls /usr/include/linux/version.h
* -11/22/02 Robbie Williamson <[email protected]>
Index: testcases/kernel/module/delete_module/dummy_del_mod_dep.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/module/delete_module/dummy_del_mod_dep.c,v retrieving revision 1.5
diff -u -r1.5 dummy_del_mod_dep.c
--- testcases/kernel/module/delete_module/dummy_del_mod_dep.c 28 Mar
2008 08:23:57 -0000 1.5
+++ testcases/kernel/module/delete_module/dummy_del_mod_dep.c 19 Aug
2009 03:15:06 -0000
@@ -21,7 +21,9 @@
* (calls function of dummy_del_mod during initialization).
*************************************************************************/
+#ifndef MODULE
#define MODULE
+#endif
/* #define __KERNEL__ Commented this line out b/c it causes errors with * module.h when it calls /usr/include/linux/version.h * -11/22/02 Robbie Williamson <[email protected]>
Index: testcases/kernel/numa/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/numa/Makefile,v retrieving revision 1.7
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/numa/numa_node_size.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/numa/numa_node_size.c,v retrieving revision 1.5
kernel/numa/numa_node_size.c +33 -24
57 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
}
-
Index: testcases/kernel/performance_counters/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/performance_counters/Makefile,v retrieving revision 1.1
kernel/performance_counters/Makefile +21 -25
46 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/performance_counters/performance_counter01.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/performance_counters/performance_counter01.c,v retrieving revision 1.2
diff -u -r1.2 performance_counter01.c
--- testcases/kernel/performance_counters/performance_counter01.c 23
Jun 2009 14:21:32 -0000 1.2
+++ testcases/kernel/performance_counters/performance_counter01.c 19
Aug 2009 03:15:06 -0000
@@ -50,7 +50,7 @@
char *TCID = "performance_counter01"; /* test program identifier.
*/
int TST_TOTAL = 1;
-#define cleanup tst_exit /* for now... */ +static void cleanup(void) { /* Stub function. */ }
int perf_counter_open(int hw_event_type,
unsigned int hw_event_period,
@@ -71,7 +71,8 @@
PERF_COUNT_BRANCH_MISSES,
};
-int main(void) {
+int
+main(void) {
unsigned long long count1, count2;
int fd1, fd2, ret;
fd1 = perf_counter_open(PERF_COUNT_INSTRUCTIONS, 0, 0, 0, -1);
Index: testcases/kernel/performance_counters/performance_counter02.c
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/performance_counters/performance_counter02.c,v retrieving revision 1.2
diff -u -r1.2 performance_counter02.c
--- testcases/kernel/performance_counters/performance_counter02.c 23
Jun 2009 14:21:32 -0000 1.2
+++ testcases/kernel/performance_counters/performance_counter02.c 19
Aug 2009 03:15:06 -0000
@@ -62,6 +62,8 @@
#include <poll.h>
#include <unistd.h>
#include <errno.h>
+#include "config.h"
+#include <sys/prctl.h>
#include <sys/types.h>
#include <linux/types.h>
#include <syscall.h>
@@ -82,7 +84,7 @@
char *TCID = "performance_counter02"; /* test program identifier.
*/
int TST_TOTAL = 1; /* total number of tests in this
file. */
-#define cleanup tst_exit /* for now... */ +static void cleanup(void) { /* Stub function. */ }
typedef unsigned int u32;
typedef unsigned long long u64;
@@ -141,6 +143,7 @@
asm volatile("" : : "g" (i));
}
+int
main(int ac, char **av)
{
int tsk0;
@@ -238,5 +241,5 @@
}
fprintf(stderr, "test passed\n");
- exit(0);
+ tst_exit();
}
Index: testcases/kernel/power_management/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/power_management/Makefile,v retrieving revision 1.4
The rest of this diff is not shown. View the raw message.
+MAKE_TARGETS :=
+
+$(eval $(generic_leaf_target))
Index: testcases/kernel/pty/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/pty/Makefile,v retrieving revision 1.4
kernel/pty/Makefile +25 -20
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/sched/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/sched/Makefile,v retrieving revision 1.7
The rest of this diff is not shown. View the raw message.
pthreads sched_stress tool
+#
+# kernel/sched test suite Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-all:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done
-
-install:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i install ; done
-
-clean:
- @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i clean ; done
+top_srcdir ?= ../../..
+include $(top_srcdir)/include/mk/master_include.mk
+$(eval $(generic_trunk_target))
Index: testcases/kernel/sched/cfs-scheduler/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/sched/cfs-scheduler/Makefile,v retrieving revision 1.1
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/sched/clisrv/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/sched/clisrv/Makefile,v retrieving revision 1.11
kernel/sched/clisrv/Makefile +38 -20
58 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
obj_to_target,$(prog),$($(prog)_DEPS))))
Index: testcases/kernel/sched/hyperthreading/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/sched/hyperthreading/Makefile,v retrieving revision 1.3
The rest of this diff is not shown. View the raw message.
Index: testcases/kernel/sched/hyperthreading/ht_affinity/Makefile
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/Makefile,v retrieving revision 1.6
diff -u -r1.6 Makefile
--- testcases/kernel/sched/hyperthreading/ht_affinity/Makefile 23 Jun
2009 13:53:56 -0000 1.6
+++ testcases/kernel/sched/hyperthreading/ht_affinity/Makefile 19 Aug
2009 03:15:06 -0000
@@ -1,20 +1,34 @@
-# Check that the definitions below are correct for your system
+#
+# sched/hyperthreading/ht_affinity testcases Makefile.
+#
+# Copyright (C) 2009, Cisco Systems Inc.
+#
+# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+# Garrett Cooper, July 2009
+#
-CFLAGS += -I../../../../../include -Wall
-LOADLIBES += -L../../../../../lib -lltp
-TARGETS := ht_affinity
-
-all: $(TARGETS)
-
-#ht_affinity: HTaffinity.o HTutils.o
-# gcc -o ht_affinity HTaffinity.o HTutils.o $(CFLAGS) $(LOADLIBES)
-ht_affinity:
- ${CC} -o ht_affinity HTaffinity.c HTutils.c $(CFLAGS) $(LOADLIBES)
-
-install:
- @chmod 755 smt_smp_affinity.sh
- @ln -f smt_smp_affinity.sh ../../../../bin/
- @set -e; for i in $(TARGETS) ; do ln -f $$i ../../../../bin/$$i ; done
+top_srcdir ?= ../../../../..
-clean:
- rm -f $(TARGETS)
+include $(top_srcdir)/include/mk/testcases.mk
+
+INSTALL_TARGETS := smt_smp_affinity.sh
+
+MAKE_TARGETS := ht_affinity
+
+ht_affinity_DEPS := $(patsubst %.c,%.o,$(wildcard $(srcdir)/*.c))
+
+$(eval $(generic_leaf_target))
+$(eval $(call obj_to_target,$(MAKE_TARGETS),$(ht_affinity_DEPS)))
Index: testcases/kernel/sched/hyperthreading/ht_affinity/ht_affinity.c
===================================================================
RCS file: testcases/kernel/sched/hyperthreading/ht_affinity/ht_affinity.c
kernel/sched/hyperthreading/ht_affinity/ht_affinity.c new file +0 -0
Aug 2009 03:15:06 -0000
@@ -0,0 +1,261 @@ +/***************************************************************************
+ ht_affinity.c - description
+ -------------------
+ email : sonic,[email protected]
+ ***************************************************************************/ + +/***************************************************************************
+ * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * *
+ ***************************************************************************/ +#include "ht_utils.h"
+#include <sys/syscall.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include "test.h"
+
+char *TCID = "smt_smp_affinity";
+int TST_TOTAL = 3;
+ +/************************************************************************************ +int set_affinity(pid_t pid, unsigned int len, unsigned long *mask_ptr) +pid - pid of the process whose affinity is desired to be set.
+mask_ptr - pointer to the new cpu_affinity_mask.
+len - length in bytes of the bitmask pointed to by user_mask_ptr.
+
+int get_affinity(pid_t pid, unsigned int len, unsigned long *mask_ptr) +pid - pid of the process whose affinity is being read.
+mask_ptr pointer to store the current affinity information.
+len - length in bytes of the bitmask pointed to by user_mask_ptr. +************************************************************************************/ +
+//Any application program can invoke these system call using sched_setaffinity() and sched_getaffinity(),
+//with the syntax mentioned in the previous section, after declaring the interface as:
+
+#define sched_setaffinity(pid, cpusetsize, mask) syscall(__NR_sched_setaffinity, pid, cpusetsize, mask)
+#define sched_getaffinity(pid, cpusetsize, mask) syscall(__NR_sched_getaffinity, pid, cpusetsize, mask)
+
+#define AFFINITY_NAME "affinity"
+#define PROCFS_PATH "/proc/"
+
+int HT_SetAffinity()
+{
+ unsigned mask;
+ pid_t pid;
+ int result=1;
+ int cpu_count, i, j, k, cpuid;
+
+ pid=getpid();
+
+ tst_resm(TINFO, "Set affinity through system call.\n");
+
+ cpu_count=get_cpu_count();
+ if(cpu_count==0)
+ {
+ return 0;
+ }
+ else if(cpu_count>32)
+ cpu_count=32;
+
+ for(i=0, mask=0x1;i<cpu_count;i++, mask=mask<<1)
+ {
+ tst_resm(TINFO, "Set test process affinity.");
+ printf("mask: %x\n",mask);
+
+ sched_setaffinity(pid, sizeof(unsigned long), &mask);
+
+ for(j=0;j<10;j++)
+ {
+ for(k=0;k<10;k++)
+ {
+ if(fork()==0)
+ {
+ system("ps > /dev/null");
+ exit(0);
+ }
+ }
+
+ sleep(1);
+
+ if(get_current_cpu(pid)!=i)
+ break;
+ }
+
+ if(j<10)
+ {
+ tst_resm(TINFO, "...Error\n");
+ result=0;
+ }
+ else
+ tst_resm(TINFO, "...OK\n");
+
+ }
+
+ for(i=0, mask=0x3;i<cpu_count-1;i++, mask=mask<<1)
+ {
+ tst_resm(TINFO, "Set test process affinity.");
+ printf("mask: %x\n",mask);
+
+ sched_setaffinity(pid, sizeof(unsigned long), &mask);
+
+ for(j=0;j<10;j++)
+ {
+ for(k=0;k<10;k++)
+ {
+ if(fork()==0)
+ {
+ system("ps > /dev/null");
+ exit(0);
+ }
+ }
+
+ sleep(1);
+
+ cpuid=get_current_cpu(pid);
+ if(cpuid!=i&&cpuid!=i+1)
+ break;
+ }
+
+ if(j<10)
+ {
+ tst_resm(TINFO, "...Error\n");
+ result=0;
+ }
+ else
+ tst_resm(TINFO, "...OK\n");
+
+ }
+
+ if(result)
+ return 1;
+ else
+ return 0;
+}
+
+unsigned long get_porc_affinity(pid_t pid)
+{
+ FILE *pfile;
+
+ sprintf(buf, "%s%d/%s%c", PROCFS_PATH, pid, AFFINITY_NAME, 0);
+
+ if((pfile=fopen(buf, "r"))==NULL)
+ return 0;
+
+ if(fgets(buf, 255, pfile)==NULL)
+ {
+ fclose(pfile);
+ return 0;
+ }
+
+ fclose(pfile);
+
+ return atol(buf);
+}
+
+int HT_GetAffinity()
+{
+ unsigned long mask, mask1;
+ pid_t pid;
+
+ mask=0x1;
+ pid=getpid();
+
+ tst_resm(TINFO, "Get affinity through system call.\n");
+
+ sched_setaffinity(pid, sizeof(unsigned int), &mask);
+
+ sleep(1);
+
+ sched_getaffinity(pid, sizeof(unsigned int), &mask1);
+
+ if (mask == 0x1 && mask == mask1)
+ {
+ mask=0x2;
+ sched_setaffinity(pid, sizeof(unsigned long), &mask);
+
+ sleep(1);
+
+ sched_getaffinity(pid, sizeof(unsigned int), &mask1);
+
+ if (mask == 0x2 && mask == mask1)
+ return 1;
+ else
+ return 0;
+ }
+ else
+ return 0;
+}
+
+int HT_InheritAffinity()
+{
+ unsigned long mask;
+ pid_t pid;
+
+ mask=0x2;
+ pid=getpid();
+
+ tst_resm(TINFO, "Inherit affinity from parent process.\n");
+
+ sched_setaffinity(pid, sizeof(unsigned int), &mask);
+
+ sleep(1);
+
+ if((pid=fork())==0)
+ {
+ sleep(1);
+ system("ps > /dev/null");
+ exit(0);
+ }
+
+ sched_getaffinity(pid, sizeof(unsigned int), &mask);
+
+ if(mask==0x2)
+ return 1;
+ else
+ return 0;
+}
+
+// return 0 means Pass, return 1 means Fail
+int main(int argc, char *argv[])
+{
+
+#ifndef __i386__
+ tst_brkm(TCONF, NULL, "This test suite can only excute on i386
architecture.");
+#else
+ if (!check_ht_capability())
+ {
+
+ if(HT_GetAffinity())
+ tst_resm(TPASS, "System call getaffinity() is OK.");
+ else
+ tst_resm(TFAIL, "System call getaffinity() is error.");
+
+ printf("\n");
+
+ if(HT_InheritAffinity())
+ tst_resm(TPASS, "Inheritance of affinity is OK.");
+ else
+ tst_resm(TFAIL, "Inheritance of affinity is error.");
+
+ printf("\n");
+
+ if(HT_SetAffinity())
+ tst_resm(TPASS, "System call setaffinity() is OK.");
+ else
+ tst_resm(TFAIL, "System call setaffinity() is error.");
+ }
+ else
+ {
+ tst_brkm(TCONF, NULL, "HT is not enabled or not supported.");
+ }
+#endif
+
+ return 0;
+}
Index: testcases/kernel/sched/hyperthreading/ht_affinity/ht_utils.c
===================================================================
RCS file: testcases/kernel/sched/hyperthreading/ht_affinity/ht_utils.c
kernel/sched/hyperthreading/ht_affinity/ht_utils.c new file +0 -0
Aug 2009 03:15:06 -0000
@@ -0,0 +1,127 @@
+
+#include "ht_utils.h"
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <alloca.h>
+#include <string.h>
+#include <linux/unistd.h>
+
+#define PROC_PATH "/proc"
+#define BUFF_SIZE 8192
+#define PROCESSOR_STR "processor"
+
+#define MAX_CPU_NUM 128
+
+char buffer[BUFF_SIZE];
+
+inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx) +{
+#ifndef __i386__
+ return;
+#else
+ __asm__("cpuid"
+ : "=a" (*eax),
+ "=b" (*ebx), + "=c" (*ecx), + "=d" (*edx)
+ : "0" (op));
+#endif
+}
+
+int is_ht_cpu()
+{
+ /*Number of logic processor in a physical processor*/
+ int smp_num_siblings = -1;
+ /*ht flag*/
+ int ht = -1;
+ int eax,ebx,ecx,edx;
+ cpuid(1,&eax,&ebx,&ecx,&edx);
+ smp_num_siblings = (ebx&0xff0000) >> 16;
+ ht = (edx&0x10000000) >> 28;
+
+ if (ht == 1 && smp_num_siblings >= 2) {
+ /*printf("The processor in this system supports HT\n");*/
+ return 1;
+ } else {
+ /*printf("The processor in this system does not support
+ * HT\n");*/
+ return 0;
+ }
+}
+
+/* return 0 means Pass,
+ return 1 means ht is not enabled,*/
+int check_ht_capability()
+{
+ int result;
+ if (is_ht_cpu())
+ result = 0; /*HT is enabled by default in this system.*/
+ else
+ result = 1; /*HT is not enabled by default in this system.*/
+
+ return result;
+}
+
+
+
+
+#define PROCFS_PATH "/proc/"
+#define CPUINFO_PATH "/proc/cpuinfo"
+#define CPU_NAME "processor"
+#define STAT_NAME "stat"
+
+char buf[256];
+
+int get_cpu_count()
+{
+ FILE *pfile;
+ int count;
+
+ pfile = fopen(CPUINFO_PATH, "r");
+ if (pfile == NULL)
+ return 0;
+
+ count=0;
+
+ while (fgets(buf, 255, pfile) != NULL) {
+ if (strncmp(buf, CPU_NAME, strlen(CPU_NAME)) == 0)
+ count++;
+ }
+
+ fclose(pfile);
+
+ return count;
+}
+
+int get_current_cpu(pid_t pid)
+{
+ int cpu=-1;
+ int da;
+ char str[100];
+ char ch;
+
+ FILE *pfile;
+
+ sprintf(buf, "%s%d/%s%c", PROCFS_PATH, pid, STAT_NAME, 0);
+
+ pfile = fopen(buf, "r");
+ if (pfile == NULL)
+ return -1;
+
+ if (fscanf(pfile, "%d %s %c %d %d %d %d %d %d %d %d %d %d %d %d %d %d\
+ %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d",
+ &da, str, &ch, &da, &da, &da, &da, &da, &da, &da,\
+ &da, &da, &da, &da, &da, &da, &da, &da, &da, &da,\
+ &da, &da, &da, &da, &da, &da, &da, &da, &da, &da,\
+ &da, &da, &da, &da, &da, &da, &da, &da, &cpu)<=0)
+ {
+ fclose(pfile);
+ return -1;
+ }
+
+ fclose(pfile);
+
+ return cpu;
+}
+
Index: testcases/kernel/sched/hyperthreading/ht_affinity/ht_utils.h
===================================================================
RCS file: testcases/kernel/sched/hyperthreading/ht_affinity/ht_utils.h
kernel/sched/hyperthreading/ht_affinity/ht_utils.h new file +0 -0
132 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
47 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
24 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
105 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
72 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
288 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
2,214 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
8 lines not shown · raw message
kernel/security/smack/smack_common.sh new file +41 -0
41 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
636 lines not shown · raw message
kernel/security/tomoyo/Makefile +23 -18
41 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
6 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
48 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
81 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
46 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
55 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
56 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
29 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
56 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
29 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
29 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
29 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
29 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
33 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/syscalls/ipc/Makefile.inc new file +44 -0
44 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
54 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
29 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
29 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
30 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/Makefile +23 -41
64 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
707 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
19 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
57 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
29 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
29 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
30 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
105 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
236 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
107 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
29 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
29 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
29 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
31 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
54 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
27 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
62 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
30 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
14 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
55 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/timers/Makefile +22 -20
42 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
58 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
30 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
lib/cmdlib.sh new file +144 -0
144 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
misc/crash/Makefile +21 -31
52 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
misc/f00f/Makefile +22 -30
52 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
misc/math/float/Makefile +26 -16
42 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
56 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
17 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
8 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/sctp/Makefile +40 -7
47 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/sctp/func_tests/Makefile +27 -104
131 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/sctp/lib/Makefile +23 -34
57 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/sctp/testlib/Makefile +26 -32
58 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/arp/arp01 +39 -75
114 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/echo/Makefile +34 -11
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/echo/createfile.c +29 -18
47 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/echo/echo01 +2 -45
47 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
139 lines not shown · raw message
network/tcp_cmds/echo/echoes.c +99 -59
158 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
418 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/finger/finger01 +46 -116
162 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
120 lines not shown · raw message
network/tcp_cmds/ftp/Makefile +41 -14
55 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/ftp/ftp01 +54 -85
139 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
72 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
80 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
205 lines not shown · raw message
network/tcp_cmds/ftp/ftp04 +20 -31
51 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
96 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
157 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
67 lines not shown · raw message
network/tcp_cmds/include/netdefs.h new file +73 -0
73 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/netstat/netstat01 +16 -51
67 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
19 lines not shown · raw message
network/tcp_cmds/perf_lan/Makefile +43 -16
59 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/perf_lan/perf_lan +38 -93
131 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
578 lines not shown · raw message
network/tcp_cmds/perf_lan/pingpong6.c new file +104 -0
104 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
198 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
56 lines not shown · raw message
network/tcp_cmds/rcp/Makefile +41 -7
48 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/rcp/rcp01 +64 -100
164 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/rdist/Makefile +41 -7
48 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
284 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/rsh/rsh01 +25 -50
75 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
46 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/rwho/rwho01 +2 -61
63 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
163 lines not shown · raw message
network/tcp_cmds/sendfile/Makefile +46 -13
59 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
717 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
73 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
79 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
69 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/tcpdump/tcpdump01 +37 -76
113 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
22 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
21 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
454 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
39 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
146 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
default_runtest_set.awk new file +44 -0
44 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
ltp-missing-install-files.py new file +46 -0
46 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
85 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
42 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
genload/genload.c new file +983 -0
983 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
Makefile +144 -141
285 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
README.ltp-devel.in new file +48 -0
48 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
README.mk-devel new file +193 -0
193 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
ltp-devel.spec.in new file +68 -0
68 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
Makefile +44 -26
70 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
mk/automake.mk new file +94 -0
94 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
mk/config.mk.in new file +74 -0
74 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
mk/lib.mk new file +71 -0
71 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
mk/master_rules.mk new file +336 -0
336 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
Makefile +40 -5
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
ltp-cap.m4 new file +41 -0
41 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
ltp-numa.m4 new file +44 -0
44 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
Makefile +29 -14
43 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
ltp-aiodio.part4 +58 -60
118 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
lvm.part1 +30 -30
60 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
scsi_debug.part1 +25 -25
50 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
Makefile +81 -15
96 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/ade/ar/Makefile +34 -16
50 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/ade/ld/Makefile +34 -12
46 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/ade/ldd/Makefile +34 -10
44 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/ade/nm/Makefile +32 -13
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/ade/objdump/Makefile +38 -18
56 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/cron/Makefile +26 -17
43 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/tpm-tools/tpm/tpm_changeauth/Makefile +28 -7
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/tpm-tools/tpm/tpm_clear/Makefile +28 -5
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/tpm-tools/tpm/tpm_getpubek/Makefile +28 -5
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/tpm-tools/tpm/tpm_restrictpubek/Makefile +28 -7
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/tpm-tools/tpm/tpm_selftest/Makefile +28 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/tpm-tools/tpm/tpm_takeownership/Makefile +28 -5
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/tpm-tools/tpm/tpm_version/Makefile +28 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/tpm-tools/tpmtoken/tpmtoken_import/Makefile +28 -13
41 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/tpm-tools/tpmtoken/tpmtoken_init/Makefile +28 -8
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/tpm-tools/tpmtoken/tpmtoken_objects/Makefile +28 -5
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/tpm-tools/tpmtoken/tpmtoken_protect/Makefile +28 -7
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/Makefile +28 -8
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
commands/unzip/Makefile +43 -22
65 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/Makefile +36 -19
55 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/connectors/Makefile +26 -15
41 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/containers/Makefile +44 -37
81 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/containers/Makefile.inc new file +52 -0
52 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/containers/libclone/libnetns.c +41 -40
81 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/Makefile +43 -2
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/controllers/Makefile.inc new file +44 -0
44 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuctl/Makefile +27 -14
41 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuset/Makefile +40 -16
56 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/controllers/cpuset/Makefile.inc new file +45 -0
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/controllers/cpuset/cpuset_funcs.sh new file +265 -0
265 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuset/cpuset_base_ops_test/Makefile +24 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuset/cpuset_exclusive_test/Makefile +24 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuset/cpuset_hierarchy_test/Makefile +24 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuset/cpuset_hotplug_test/Makefile +24 -19
43 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuset/cpuset_inherit_test/Makefile +24 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuset/cpuset_lib/Makefile +27 -12
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuset/cpuset_load_balance_test/Makefile +24 -21
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuset/cpuset_memory_pressure_test/Makefile +23 -14
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuset/cpuset_memory_spread_test/Makefile +23 -14
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuset/cpuset_memory_test/Makefile +24 -17
41 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/cpuset/cpuset_syscall_test/Makefile +23 -16
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/freezer/Makefile +22 -27
49 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/io-throttle/Makefile +27 -12
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/controllers/libcontrollers/Makefile +25 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/fs/acls/Makefile +32 -16
48 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/fs/dmapi/Makefile +17 -80
97 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/fs/doio/Makefile +28 -24
52 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/fs/fs-bench/Makefile +38 -22
60 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/fs/fs-bench/random-access-del-create.c new file +135 -0
135 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/fs/fsx-linux/Makefile +29 -13
42 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/fs/ftest/Makefile +21 -31
52 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/fs/inode/Makefile +22 -29
51 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/fs/quota_remount/Makefile +22 -23
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/include/Makefile +31 -12
43 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/io/aio/aio02/Makefile +35 -16
51 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/io/aio/aio02/aio_tio.c new file +281 -0
281 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/io/direct_io/Makefile +22 -47
69 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/io/direct_io/test_dma_thread_diotest7.sh +4 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/io/ltp-aiodio/Makefile +26 -40
66 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/mem/Makefile +36 -7
43 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/mem/Makefile.inc new file +45 -0
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/mem/hugetlb/Makefile.inc new file +44 -0
44 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/mem/hugetlb/hugeshmat/Makefile +23 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/mem/hugetlb/hugeshmctl/Makefile +23 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/mem/hugetlb/hugeshmdt/Makefile +23 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/mem/hugetlb/hugeshmget/Makefile +19 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/mem/page/Makefile +21 -30
51 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/mem/shmt/Makefile +20 -29
49 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/module/delete_module/Makefile +35 -35
70 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/module/delete_module/delete_module01.c +98 -94
192 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/module/delete_module/delete_module02.c +152 -141
293 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/module/delete_module/delete_module03.c +132 -128
260 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/module/delete_module/dummy_del_mod.c +3 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/module/delete_module/dummy_del_mod_dep.c +2 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/numa/numa_node_size.c +33 -25
58 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/performance_counters/Makefile +21 -25
46 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/performance_counters/performance_counter01.c +3 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/performance_counters/performance_counter02.c +5 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/pty/Makefile +25 -20
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/sched/clisrv/Makefile +38 -20
58 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/sched/hyperthreading/ht_affinity/Makefile +32 -18
50 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/sched/hyperthreading/ht_affinity/ht_affinity.c new file +261 -0
261 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/sched/hyperthreading/ht_affinity/ht_utils.c new file +127 -0
127 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/sched/hyperthreading/ht_affinity/ht_utils.h new file +18 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/sched/hyperthreading/ht_enabled/Makefile +30 -16
46 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/sched/hyperthreading/ht_interrupt/Makefile +28 -14
42 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/sched/sched_stress/Makefile +32 -13
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/cap_bound/cap_bounds_r.c +7 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/cap_bound/cap_bounds_rw.c +3 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/cap_bound/cap_bset_inh_bounds.c +7 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/cap_bound/exec_with_inh.c +7 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/cap_bound/exec_without_inh.c +7 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/filecaps/Makefile +7 -38
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/filecaps/check_simple_capset.c +9 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/filecaps/checkforfilecaps.sh +1 -3
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/filecaps/verify_caps_exec.c +43 -9
52 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/integrity/ima/Makefile +25 -7
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/integrity/ima/policy/Makefile +29 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/integrity/ima/src/Makefile +25 -12
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/integrity/ima/src/ima_boot_aggregate.c +16 -5
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/integrity/ima/src/ima_measure.c +25 -7
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/integrity/ima/src/ima_mmap.c +6 -3
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/integrity/ima/tests/Makefile +27 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/Makefile +24 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/policy/Makefile +47 -13
60 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/refpolicy/Makefile +65 -33
98 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/Makefile +27 -22
49 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/bounds/Makefile +23 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/capable_file/Makefile +23 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/capable_net/Makefile +22 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/capable_sys/Makefile +22 -8
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/domain_trans/Makefile +23 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/dyntrace/Makefile +23 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/dyntrans/Makefile +23 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/entrypoint/Makefile +23 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/execshare/Makefile +23 -10
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/exectrace/Makefile +23 -10
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/execute_no_trans/Makefile +23 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/fdreceive/Makefile +22 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/file/Makefile +23 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/inherit/Makefile +24 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/ioctl/Makefile +22 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/link/Makefile +23 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/mkdir/Makefile +23 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/msg/Makefile +22 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/open/Makefile +22 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/ptrace/Makefile +22 -10
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/readlink/Makefile +22 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/relabel/Makefile +22 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/rename/Makefile +22 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/rxdir/Makefile +22 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/sem/Makefile +22 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/setattr/Makefile +22 -5
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/setnice/Makefile +23 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/shm/Makefile +22 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/sigkill/Makefile +22 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/stat/Makefile +22 -5
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/sysctl/Makefile +22 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/task_create/Makefile +22 -8
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/task_getpgid/Makefile +22 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/task_getscheduler/Makefile +22 -10
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/task_getsid/Makefile +22 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/task_setnice/Makefile +22 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/task_setpgid/Makefile +22 -7
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/task_setscheduler/Makefile +22 -10
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/selinux-testsuite/tests/wait/Makefile +23 -8
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/security/smack/smack_common.sh new file +48 -0
48 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/smack/smack_file_access.sh +31 -36
67 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/smack/smack_set_ambient.sh +15 -18
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/smack/smack_set_cipso.sh +27 -32
59 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/smack/smack_set_current.sh +16 -18
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/smack/smack_set_direct.sh +16 -18
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/smack/smack_set_doi.sh +16 -16
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/smack/smack_set_load.sh +20 -24
44 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/smack/smack_set_netlabel.sh +20 -21
41 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/smack/smack_set_onlycap.sh +16 -17
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/security/tomoyo/Makefile +24 -18
42 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/Makefile +24 -45
69 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/clock_nanosleep/Makefile +4 -10
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/clock_nanosleep2/Makefile +4 -10
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/epoll_create1/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/get_mempolicy/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/get_robust_list/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/getdomainname/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/getdtablesize/Makefile +3 -13
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
kernel/syscalls/ipc/Makefile.inc new file +44 -0
44 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/Makefile +23 -41
64 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages01.c +10 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages02.c +12 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages03.c +12 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages04.c +17 -9
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages05.c +12 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages06.c +12 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages07.c +12 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages08.c +12 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages09.c +11 -3
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages10.c +12 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages11.c +12 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages_support.c +35 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/move_pages/move_pages_support.h +2 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/mq_timedreceive/Makefile +5 -10
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/remap_file_pages/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/rt_sigprocmask/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/rt_sigqueueinfo/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/rt_sigsuspend/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/sched_get_priority_max/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/sched_get_priority_min/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/sched_getaffinity/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/sched_getparam/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/sched_getscheduler/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/sched_rr_get_interval/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/sched_setparam/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/sched_setscheduler/Makefile +3 -12
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/set_robust_list/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/set_thread_area/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/set_tid_address/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/setdomainname/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/switch/Makefile +20 -29
49 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/sync_file_range/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/timer_getoverrun/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/syscalls/timer_gettime/Makefile +3 -11
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
kernel/timers/Makefile +22 -20
42 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
lib/cmdlib.sh new file +144 -0
144 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
misc/crash/Makefile +21 -31
52 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
misc/f00f/Makefile +22 -30
52 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
misc/math/float/Makefile +26 -16
42 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
misc/tcore_patch_test_suites/Makefile +32 -11
43 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/sctp/Makefile +40 -7
47 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/sctp/func_tests/Makefile +27 -104
131 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/sctp/lib/Makefile +23 -34
57 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/sctp/testlib/Makefile +26 -32
58 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/arp/arp01 +39 -75
114 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/echo/Makefile +34 -11
45 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/echo/createfile.c +29 -18
47 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/echo/echo01 +67 -96
163 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/echo/echoes.c +300 -217
517 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/finger/finger01 +101 -167
268 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/ftp/Makefile +41 -14
55 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/ftp/ftp01 +71 -120
191 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/ftp/ftp02 +34 -27
61 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/ftp/ftp03 +89 -93
182 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/ftp/ftp04 +53 -73
126 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/ftp/ftp05 +73 -74
147 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/host/host01 +30 -62
92 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
network/tcp_cmds/include/netdefs.h new file +73 -0
73 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/netstat/netstat01 +20 -54
74 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/perf_lan/Makefile +43 -16
59 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/perf_lan/perf_lan +38 -93
131 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/perf_lan/pingpong.c +236 -217
453 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
network/tcp_cmds/perf_lan/pingpong6.c new file +294 -0
294 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/ping/ping01 +23 -54
77 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/rcp/Makefile +41 -7
48 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/rcp/rcp01 +64 -100
164 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/rdist/Makefile +41 -7
48 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/rdist/rdist01 +88 -166
254 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/rsh/rsh01 +51 -57
108 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/rwho/rwho01 +73 -123
196 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/sendfile/Makefile +46 -13
59 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/sendfile/sendfile01 +50 -90
140 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/sendfile/testsf_c.c +105 -84
189 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/sendfile/testsf_s.c +149 -142
291 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/ssh/ssh01 +42 -34
76 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/ssh/ssh02 +47 -35
82 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/ssh/ssh03 +42 -31
73 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
network/tcp_cmds/tcpdump/tcpdump01 +37 -76
113 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/docs/hld/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/docs/man/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/hpi_shell/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/marshal/t/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/openhpid/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/ilo2_ribcl/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/ipmi/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/ipmi/t/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/ipmidirect/Makefile.am +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/ipmidirect/Makefile.in +2 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/ipmidirect/t/Makefile.am +2 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/ipmidirect/t/Makefile.in +3 -3
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/oa_soap/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/rtas/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/simulator/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/simulator/t/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/snmp_bc/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/snmp_bc/t/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/sysfs/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/plugins/watchdog/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/scripts/test/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/src/t/ohpi/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/utils/t/ann/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/utils/t/el/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/utils/t/epath/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/utils/t/rpt/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/utils/t/sahpi/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
open_hpi_testsuite/utils/t/uid/Makefile.in +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
default_runtest_set.awk new file +44 -0
44 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
ltp-missing-install-files.py new file +116 -0
116 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
apicmds/Makefile +41 -20
61 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
3 lines not shown · raw message
genload/genload.c new file +983 -0
983 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
4 lines not shown · raw message
The rest of this diff is not shown. View the raw message.
9 lines not shown · raw message
Parts of this message are not shown here. View the raw message.