packages (UNDOS): test/test.spec - test for undos macro

glen glen at pld-linux.org
Tue Jun 1 17:02:02 CEST 2010


Author: glen                         Date: Tue Jun  1 15:02:03 2010 GMT
Module: packages                      Tag: UNDOS
---- Log message:
- test for undos macro

---- Files affected:
packages/test:
   test.spec (1.30.4.8 -> 1.30.4.8.2.1) 

---- Diffs:

================================================================
Index: packages/test/test.spec
diff -u packages/test/test.spec:1.30.4.8 packages/test/test.spec:1.30.4.8.2.1
--- packages/test/test.spec:1.30.4.8	Tue Jun  1 16:43:54 2010
+++ packages/test/test.spec	Tue Jun  1 17:01:55 2010
@@ -1,25 +1,37 @@
 # $Revision$, $Date$
-Summary:	307183
-Name:		fdleak
-Version:	307183
+Summary:	undos macro testing
+Name:		undos
+Version:	1
 Release:	1
 License:	GPL
 Group:		Hacking/Bugs
-Requires:	lvm2 >= 2.02
+BuildRequires:	rpmbuild(macros) >= 1.565
+BuildRequires:	sed >= 4.0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-307183
+undos macro testing
 
 %prep
+: if we exit with status 42, we passed
+
+touch one two three
+touch mina.jah sina.nii homme.naa sööme.õun toitu.jää
+
+: 1. undos list of files
+: 2. undos files case insensitive by extension
+: 3. undos files by extension
+
+%undos one two three
+%undos -i -f jah,nii,naa
+%undos -f õun,jää
+
+exit 42
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/lvs || :
-
 %files
 %defattr(644,root,root,755)
 
@@ -29,6 +41,6 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.30.4.8  2010/06/01 14:43:54  glen
-- 307183
+Revision 1.30.4.8.2.1  2010/06/01 15:01:55  glen
+- test for undos macro
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/test/test.spec?r1=1.30.4.8&r2=1.30.4.8.2.1&f=u



More information about the pld-cvs-commit mailing list