23 lines
311 B
Bash
Executable File
23 lines
311 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
exec 2>&1
|
|
set -x
|
|
|
|
cd "$AUTOPKGTEST_TMP"
|
|
|
|
cat > trivial.c <<EOF
|
|
#include <ostree.h>
|
|
|
|
int main (void)
|
|
{
|
|
g_object_unref (ostree_repo_new_default ());
|
|
return 0;
|
|
}
|
|
EOF
|
|
|
|
gcc -o trivial trivial.c $(pkg-config --cflags --libs ostree-1 gobject-2.0)
|
|
test -x trivial
|
|
./trivial
|
|
echo "ok 3 run it"
|