aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/plugins.sh
blob: baf71a362cec49f8dc2c9c9dc8f58584de38373c (plain)
1
2
3
4
5
6
7
8
9
source common.sh

if [[ $BUILD_SHARED_LIBS != 1 ]]; then
    skipTest "Plugins are not supported"
fi

res=$(nix --option setting-set true --option plugin-files $PWD/plugins/libplugintest* eval --expr builtins.anotherNull)

[ "$res"x = "nullx" ]