Add some new tests, and remame manigest.h to test.h in tests
modified libpkg/pkg.c
@@ -18,7 +18,11 @@ pkg_type(struct pkg *pkg)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -52,6 +56,9 @@ pkg_get(struct pkg *pkg, pkg_attr attr) {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -330,7 +337,7 @@ pkg_new(struct pkg **pkg)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/Makefile
@@ -1,6 +1,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified tests/manifest.c
@@ -2,7 +2,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
deleted tests/manifest.h
@@ -1,3 +0,0 @@
| - | |
| - | |
| - | |
added tests/pkg.c
@@ -0,0 +1,21 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified tests/test.c
@@ -1,6 +1,6 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -9,6 +9,7 @@ main()
|
|
|
|
|
|
| + | |
|
|
|
|
|
added tests/tests.h
@@ -0,0 +1,4 @@
| + | |
| + | |
| + | |
| + | |