diff options
| author | Tom Tromey | 2013-07-04 14:18:15 -0600 |
|---|---|---|
| committer | Tom Tromey | 2013-07-04 14:18:15 -0600 |
| commit | b09859f771fb46a2248198f45ae40712e4c7dd8a (patch) | |
| tree | 20029014e7c7acd513f521e999752bfd32ddd83e | |
| parent | 2efa60a37de1602f2c867010b1eddda92211c7ad (diff) | |
| download | emacs-b09859f771fb46a2248198f45ae40712e4c7dd8a.tar.gz emacs-b09859f771fb46a2248198f45ae40712e4c7dd8a.zip | |
fix buglet in test case
| -rw-r--r-- | test/automated/threads.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/automated/threads.el b/test/automated/threads.el index db6aa41d63a..c65b6425c3c 100644 --- a/test/automated/threads.el +++ b/test/automated/threads.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; threads.el --- tests for threads. | 1 | ;;; threads.el --- tests for threads. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2012 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2012, 2013 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; This file is part of GNU Emacs. | 5 | ;; This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -85,7 +85,7 @@ | |||
| 85 | "simple test of threads and let bindings" | 85 | "simple test of threads and let bindings" |
| 86 | (should | 86 | (should |
| 87 | (progn | 87 | (progn |
| 88 | (setq threads-test-binding nil) | 88 | (setq threads-test-global nil) |
| 89 | (make-thread #'threads-test-thread2) | 89 | (make-thread #'threads-test-thread2) |
| 90 | (while (not threads-test-global) | 90 | (while (not threads-test-global) |
| 91 | (thread-yield)) | 91 | (thread-yield)) |