diff options
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/process-tests.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/src/process-tests.el b/test/src/process-tests.el index e39f57d23be..44f3ea2fbb4 100644 --- a/test/src/process-tests.el +++ b/test/src/process-tests.el | |||
| @@ -946,5 +946,11 @@ Return nil if FILENAME doesn't exist." | |||
| 946 | (when buf | 946 | (when buf |
| 947 | (kill-buffer buf))))) | 947 | (kill-buffer buf))))) |
| 948 | 948 | ||
| 949 | (ert-deftest process-num-processors () | ||
| 950 | "Sanity checks for num-processors." | ||
| 951 | (should (equal (num-processors) (num-processors))) | ||
| 952 | (should (integerp (num-processors))) | ||
| 953 | (should (< 0 (num-processors)))) | ||
| 954 | |||
| 949 | (provide 'process-tests) | 955 | (provide 'process-tests) |
| 950 | ;;; process-tests.el ends here | 956 | ;;; process-tests.el ends here |