updated for version 7.4.231
Problem: An error in ":options" is not caught by the tests.
Solution: Add a test for ":options". Set $VIMRUNTIME for the tests so that
it uses the current runtime files instead of the installed ones.
diff --git a/src/testdir/test_options.in b/src/testdir/test_options.in
new file mode 100644
index 0000000..bf1232a
--- /dev/null
+++ b/src/testdir/test_options.in
@@ -0,0 +1,17 @@
+Test for ":options".
+
+STARTTEST
+:so small.vim
+:let caught = 'ok'
+:try
+ :options
+:catch
+ :let caught = v:throwpoint . "\n" . v:exception
+:endtry
+:buf 1
+:$put =caught
+:/^result/,$w! test.out
+:qa!
+ENDTEST
+
+result