Skip to contentSkip to conversation

Renaming binaries to avoid conflicts

PATCH New Cyril Hrubis 1 participant 1 message May 18, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Renaming binaries to avoid conflicts

Hi,
this is second try. I've cleaned scanner, bump and pan source a bit, but most of the pan source is broken by desing :(.

Signature · 2 lines
Cyril Hrubis
[email protected]
doc/automation-README.html +1 -1
Index: ltp-full-20090430/doc/automation-README.html
===================================================================
@@ -60,7 +60,7 @@ is unavailable.<br>
 options:</li>
    
   <ul>
-     <li>ex: <i>${LTPROOT}/pan/pan -l $PAN_LOG -e -S $instances $time -a
+     <li>ex: <i>${LTPROOT}/pan/ltp-pan -l $PAN_LOG -e -S $instances $time -a
 $$ -n $$ -f ${TMP}/alltests</i></li>
    
   </ul>
doc/automation-cookbook.html +1 -1
Index: ltp-full-20090430/doc/automation-cookbook.html
===================================================================
@@ -60,7 +60,7 @@ is unavailable.<br>
 options:</li>
    
   <ul>
-     <li>ex: <i>${LTPROOT}/pan/pan -l $PAN_LOG -e -S $instances $time -a
+     <li>ex: <i>${LTPROOT}/pan/ltp-pan -l $PAN_LOG -e -S $instances $time -a
 $$ -n $$ -f ${TMP}/alltests</i></li>
    
   </ul>
doc/ltp-howto.lyx +35 -35

207 lines not on this page · raw message

doc/ltp-howto.txt +32 -32

157 lines not on this page · raw message

doc/man1/Makefile +1 -1
Index: ltp-full-20090430/doc/man1/Makefile
===================================================================
@@ -1,7 +1,7 @@
 
 
 PREFIX=/usr
-MANPAGES=bump.1 doio.1 iogen.1 pan.1
+MANPAGES=ltp-bump.1 doio.1 iogen.1 ltp-pan.1
 
 all:
 
doc/man1/bump.1 deleted +0 -80

80 lines not on this page · raw message

doc/man1/ltp-bump.1 new file +80 -0

80 lines not on this page · raw message

doc/man1/ltp-pan.1 new file +262 -0

262 lines not on this page · raw message

doc/man1/pan.1 deleted +0 -262

262 lines not on this page · raw message

ltp-devel.spec +5 -5
Index: ltp-full-20090430/ltp-devel.spec
===================================================================
@@ -21,9 +21,9 @@ It is intended to be used to build testc
 %files
 /opt/ltp/lib/libltp.a
 /usr/share/pkgconfig/ltp.pc
-/opt/ltp/bin/pan
-/opt/ltp/bin/scanner
-/opt/ltp/bin/bump
+/opt/ltp/bin/ltp-pan
+/opt/ltp/bin/ltp-scanner
+/opt/ltp/bin/ltp-bump
 /opt/ltp/include/linux_syscall_numbers.h
 /opt/ltp/include/libtestsuite.h
 /opt/ltp/include/usctest.h
@@ -59,10 +59,10 @@ It is intended to be used to build testc
 /usr/share/man/man3/string_to_tokens.3
 /usr/share/man/man3/tst_sig.3
 /usr/share/man/man3/get_attrib.3
-/usr/share/man/man1/pan.1
+/usr/share/man/man1/ltp-pan.1
 /usr/share/man/man1/doio.1
 /usr/share/man/man1/iogen.1
-/usr/share/man/man1/bump.1
+/usr/share/man/man1/ltp-bump.1
 # Post-install stuff would go here.
 #EOF
 
pan/Makefile +9 -9
Index: ltp-full-20090430/pan/Makefile
===================================================================
@@ -4,21 +4,21 @@ LFLAGS += -l -w
 CFLAGS += -w 
 PREFIX = /opt/ltp
 
-all: pan bump scanner
+all: ltp-pan ltp-bump ltp-scanner
 
-pan: pan.o zoolib.o splitstr.o
+ltp-pan: ltp-pan.o zoolib.o splitstr.o
 
 
-bump: bump.o zoolib.o
+ltp-bump: ltp-bump.o zoolib.o
 
 
-scanner: scan.o scanner.o reporter.o tag_report.o symbol.o splitstr.o debug.o
+ltp-scanner: scan.o ltp-scanner.o reporter.o tag_report.o symbol.o splitstr.o debug.o
 
 
-install: pan bump scanner
-	install -D scanner $(DESTDIR)/$(PREFIX)/bin/scanner
-	install -D pan $(DESTDIR)/$(PREFIX)/bin/pan
-	install -D bump $(DESTDIR)/$(PREFIX)/bin/bump
+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 pan bump scanner
+	rm -f *.o ltp-pan ltp-bump ltp-scanner
pan/bump.c deleted +0 -113

113 lines not on this page · raw message

pan/ltp-bump.c new file +111 -0

111 lines not on this page · raw message

pan/ltp-pan.c new file +1394 -0

1,394 lines not on this page · raw message

pan/ltp-scanner.c new file +174 -0

174 lines not on this page · raw message

pan/pan.c deleted +0 -1309

82 lines not on this page · raw message

pan/scanner.c deleted +0 -183

183 lines not on this page · raw message

runltp +7 -7
Index: ltp-full-20090430/runltp
===================================================================

Lines of this file are not shown. View the raw message.

runltplite.sh +6 -6
Index: ltp-full-20090430/runltplite.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/diskio.sh +3 -3
Index: ltp-full-20090430/testscripts/diskio.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/ltp-aiodio.sh +6 -6
Index: ltp-full-20090430/testscripts/ltp-aiodio.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/ltp-scsi_debug.sh +1 -1
Index: ltp-full-20090430/testscripts/ltp-scsi_debug.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/ltpfslvm.sh +2 -2
Index: ltp-full-20090430/testscripts/ltpfslvm.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/ltpfsnolvm.sh +2 -2
Index: ltp-full-20090430/testscripts/ltpfsnolvm.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/ltpstress.sh +5 -5
Index: ltp-full-20090430/testscripts/ltpstress.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/networkstress.sh +4 -4
Index: ltp-full-20090430/testscripts/networkstress.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/networktests.sh +4 -4
Index: ltp-full-20090430/testscripts/networktests.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/runEALtests.sh +3 -3
Index: ltp-full-20090430/testscripts/runEALtests.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/runpan.sh +3 -3
Index: ltp-full-20090430/testscripts/runpan.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/test_containers.sh +1 -1
Index: ltp-full-20090430/testscripts/test_containers.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/test_filecaps.sh +1 -1
Index: ltp-full-20090430/testscripts/test_filecaps.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/test_selinux.sh +1 -1
Index: ltp-full-20090430/testscripts/test_selinux.sh
===================================================================

Lines of this file are not shown. View the raw message.

testscripts/tpm_tools.sh +1 -1
Index: ltp-full-20090430/testscripts/tpm_tools.sh
===================================================================

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Part of the diff is not shown here. View the raw message.