diff options
Diffstat (limited to 'tests/functional/plugins.sh')
-rw-r--r-- | tests/functional/plugins.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/plugins.sh b/tests/functional/plugins.sh new file mode 100644 index 000000000..baf71a362 --- /dev/null +++ b/tests/functional/plugins.sh @@ -0,0 +1,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" ] |