poldek: poldek/tests/test_env.c - updated

mis mis at pld-linux.org
Tue Jun 5 17:03:08 CEST 2007


Author: mis                          Date: Tue Jun  5 15:03:07 2007 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- updated

---- Files affected:
poldek/poldek/tests:
   test_env.c (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: poldek/poldek/tests/test_env.c
diff -u poldek/poldek/tests/test_env.c:1.4 poldek/poldek/tests/test_env.c:1.5
--- poldek/poldek/tests/test_env.c:1.4	Sat Nov  5 18:47:55 2005
+++ poldek/poldek/tests/test_env.c	Tue Jun  5 17:03:02 2007
@@ -39,7 +39,7 @@
     n_hash_insert(vars, "1", "pol");
     n_hash_insert(vars, "2", "dek");
     
-    s = poldek_util_expand_vars(tmp, sizeof(tmp), buf, '%', vars);
+    s = poldek_util_expand_vars(tmp, sizeof(tmp), buf, '%', vars, 0);
     fail_if(s == NULL, "expand_vars failed");
     
     fail_if(n_str_ne(s, "poldek"),
@@ -50,7 +50,7 @@
 
     
     n_snprintf(buf, sizeof(buf), "foobar");
-    s = poldek_util_expand_vars(tmp, sizeof(tmp), buf, '%', vars);
+    s = poldek_util_expand_vars(tmp, sizeof(tmp), buf, '%', vars, 0);
 
     fail_if(s == NULL, "expand_vars failed");
     fail_if(n_str_ne(s, buf),
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/poldek/poldek/tests/test_env.c?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list