summaryrefslogtreecommitdiffstats
path: root/tests/runfiles
diff options
context:
space:
mode:
authorChris Williamson <[email protected]>2018-02-08 09:17:52 -0700
committerBrian Behlendorf <[email protected]>2018-02-08 15:28:52 -0800
commit475eca4908731a87fff1be500ba4d7b011d392e4 (patch)
tree4dcc6c4bb7e897e94486c3c7e5aa6f95e413c789 /tests/runfiles
parentd99a015343425a1c856c900aa8223016400ac2dc (diff)
OpenZFS 8605 - zfs channel programs fix zfs.exists
Authored by: Chris Williamson <[email protected]> Reviewed by: Paul Dagnelie <[email protected]> Reviewed by: Dan Kimmel <[email protected]> Reviewed by: Matt Ahrens <[email protected]> Approved by: Robert Mustacchi <[email protected]> Ported-by: Don Brady <[email protected]> zfs.exists() in channel programs doesn't return any result, and should have a man page entry. This patch corrects zfs.exists so that it returns a value indicating if the dataset exists or not. It also adds documentation about it in the man page. OpenZFS-issue: https://www.illumos.org/issues/8605 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/1e85e111
Diffstat (limited to 'tests/runfiles')
-rw-r--r--tests/runfiles/linux.run4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run
index 184dd2f9e..04f0163f3 100644
--- a/tests/runfiles/linux.run
+++ b/tests/runfiles/linux.run
@@ -63,8 +63,8 @@ tests = ['case_all_values', 'norm_all_values']
tags = ['functional', 'casenorm']
[tests/functional/channel_program/lua_core]
-tests = ['tst.args_to_lua', 'tst.divide_by_zero', 'tst.integer_illegal',
- 'tst.integer_overflow', 'tst.language_functions_neg',
+tests = ['tst.args_to_lua', 'tst.divide_by_zero', 'tst.exists',
+ 'tst.integer_illegal', 'tst.integer_overflow', 'tst.language_functions_neg',
'tst.language_functions_pos', 'tst.large_prog', 'tst.memory_limit',
'tst.nested_neg', 'tst.nested_pos', 'tst.nvlist_to_lua',
'tst.recursive_neg', 'tst.recursive_pos', 'tst.return_nvlist_neg',