summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-sysroot.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-03-02 10:05:08 -0500
committerColin Walters <walters@verbum.org>2016-03-03 18:03:32 -0500
commitebd03709764da853483f12a31a7e0c8c4c8f8d9f (patch)
treea5521ed1dbdb940e94856f3f04fecaabeeb21af2 /src/libostree/ostree-sysroot.h
parent12db46e5af64a0d30aed2daa0224d36230adaac4 (diff)
downloadostree-ebd03709764da853483f12a31a7e0c8c4c8f8d9f.tar.gz
tests: Unify some tmpdir code, add ability for C to use libtest.sh
I want to be able to easily test the C API on actual data in an OSTree repo. The shell `libtest.sh` has code to generate it. Bridge the two worlds by introducing a little `libostreetest` library which has a C API which spawns a shell that runs things in `libtest.sh`. Yes, this is about as beautiful as it sounds, which is to say, it's not. But it works! Note while we were here, I realized we were actually now creating *two* tmpdirs per test in `make check` because the tap driver was already doing that. Unify it so we know the C code can rely on it.
Diffstat (limited to 'src/libostree/ostree-sysroot.h')
0 files changed, 0 insertions, 0 deletions