Revision: 2742
          http://ipcop.svn.sourceforge.net/ipcop/?rev=2742&view=rev
Author:   gespinasse
Date:     2009-04-24 07:46:06 +0000 (Fri, 24 Apr 2009)

Log Message:
-----------
Add e2fsprogs test suite
Add a patch that fix /bin/rm: No such file or directory during test
Patch has been send upstream

Still failing with mkswap test as it is not yet build but we could live with 
that.

Modified Paths:
--------------
    ipcop/trunk/lfs/e2fsprogs

Added Paths:
-----------
    ipcop/trunk/src/patches/e2fsprogs-1.41.5_blkidtest-rm-path.patch

Modified: ipcop/trunk/lfs/e2fsprogs
===================================================================
--- ipcop/trunk/lfs/e2fsprogs   2009-04-24 06:09:14 UTC (rev 2741)
+++ ipcop/trunk/lfs/e2fsprogs   2009-04-24 07:46:06 UTC (rev 2742)
@@ -81,6 +81,7 @@
 $(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && patch -Np1 -i 
$(DIR_PATCHES)/$(THISAPP)_blkidtest-rm-path.patch
 
 ifeq "$(STAGE)" "toolchain"
        cd $(DIR_APP) && mkdir -v build
@@ -102,6 +103,9 @@
                                                --disable-imager \
                                                --disable-uuidd
        cd $(DIR_APP)/build && make -j $(PARALLELISM)
+ifeq "$(RUNNING_TEST)" "yes"
+       cd $(DIR_APP)/build && make check &> 
$(DIR_TEST)/$(THISAPP)-$(STAGE_ORDER).log
+endif
        cd $(DIR_APP)/build && make install
        cd $(DIR_APP)/build && make install-libs
 endif

Added: ipcop/trunk/src/patches/e2fsprogs-1.41.5_blkidtest-rm-path.patch
===================================================================
--- ipcop/trunk/src/patches/e2fsprogs-1.41.5_blkidtest-rm-path.patch            
                (rev 0)
+++ ipcop/trunk/src/patches/e2fsprogs-1.41.5_blkidtest-rm-path.patch    
2009-04-24 07:46:06 UTC (rev 2742)
@@ -0,0 +1,13 @@
+From lfs book
+Should be possible to find rm in $TOOLS/bin/rm if PATH is so defined
+--- e2fsprogs-1.41.5/lib/blkid/test_probe.in.old       2009-02-14 
14:49:08.000000000 +0100
++++ e2fsprogs-1.41.5/lib/blkid/test_probe.in   2009-04-24 08:25:49.000000000 
+0200
+@@ -42,7 +42,7 @@
+               bunzip2 < $IMAGE_BZ2 > $IMAGE
+       fi
+       eval ./tst_probe $IMAGE $RMUUID > tests/$i.out
+-      /bin/rm -f $IMAGE tests/$i.ok tests/$i.failed
++      rm -f $IMAGE tests/$i.ok tests/$i.failed
+       cmp -s tests/$i.out $RESULTS
+       unset RMUUID
+       if [ $? = 0 ];  then


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to