/***
This file is part of systemd
Copyright 2014 Ronny Chevalier
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
systemd is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <unistd.h>
#include "alloc-util.h"
#include "copy.h"
#include "fd-util.h"
#include "fileio.h"
#include "fs-util.h"
#include "macro.h"
#include "mkdir.h"
#include "path-util.h"
#include "rm-rf.h"
#include "string-util.h"
#include "strv.h"
#include "util.h"
static void test_copy_file(void) {
int fd;
}
static void test_copy_file_fd(void) {
}
static void test_copy_tree(void) {
char **p, **link;
char *f = strjoina(original_dir, *p);
}
char *f = strjoina(original_dir, *p);
}
}
char *f = strjoina(original_dir, *p);
}
}
static void test_copy_bytes(void) {
int r, r2;
if (infd < 0)
assert_se(r == 0);
assert_se(r >= 0);
/* test copy_bytes with invalid descriptors */
}
return 0;
}