Rename perf1 and perf2 to posix01 and posix02
authorJeff Layton <jlayton@redhat.com>
Sat, 8 Jun 2013 10:14:14 +0000 (06:14 -0400)
committerJeff Layton <jlayton@redhat.com>
Sat, 8 Jun 2013 10:14:14 +0000 (06:14 -0400)
...in preparation for tests that do other types of locking.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Makefile.am
configure.ac
posix01.c [moved from perf1.c with 98% similarity]
posix02.c [moved from perf2.c with 99% similarity]

index 94e4f08f92692c22088dfb96c4e9ca140508187f..3da582b37e8074b2d7295c1eeac5eb77f0a2f055 100644 (file)
@@ -4,6 +4,6 @@ ACLOCAL_AMFLAGS = -I m4
 EXTRA_DIST = m4/gnulib-cache.m4
 LDADD = lib/libgnu.a -lrt
 
-bin_PROGRAMS = perf1 perf2
+bin_PROGRAMS = posix01 posix02
 
 SUBDIRS = lib/
index ea8e150a870d8ef4e95a49d7f22df03a3e198b29..57e1a070b0c830a65b72169059c41012bab3c7fe 100644 (file)
@@ -3,7 +3,7 @@
 
 AC_PREREQ([2.69])
 AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
-AC_CONFIG_SRCDIR([perf1.c])
+AC_CONFIG_SRCDIR([posix01.c])
 AC_CONFIG_HEADERS([config.h])
 
 AM_INIT_AUTOMAKE
similarity index 98%
rename from perf1.c
rename to posix01.c
index c7a4dc02af02379957d880b2bd802abc2ba430f9..2d51d70bfcc31492af5b78c9fab6e9ccfc378a7e 100644 (file)
--- a/perf1.c
+++ b/posix01.c
@@ -1,5 +1,5 @@
 /*
- * perf1 -- Performance test 1
+ * POSIX lock performance test 1
  *
  * Fork off a given number of children who attempt to repeatedly acquire a
  * POSIX write lock over the whole file and then release it for a given number
similarity index 99%
rename from perf2.c
rename to posix02.c
index 6c04738e5a1e85f69b5b3445d44e29f25937c741..545293443fc21e298ac8a52faf04a55b676e13e0 100644 (file)
--- a/perf2.c
+++ b/posix02.c
@@ -1,5 +1,5 @@
 /*
- * perf2 -- Performance test 2
+ * POSIX lock performance test 2
  *
  * Fork off a given number of children who each open their own file. Then have
  * each child lock and unlock the file for the given number of times.