summaryrefslogtreecommitdiff
path: root/checks/153.undivert
diff options
context:
space:
mode:
Diffstat (limited to 'checks/153.undivert')
-rw-r--r--checks/153.undivert27
1 files changed, 27 insertions, 0 deletions
diff --git a/checks/153.undivert b/checks/153.undivert
new file mode 100644
index 0000000..161c020
--- /dev/null
+++ b/checks/153.undivert
@@ -0,0 +1,27 @@
+dnl @ ../doc/m4.texi:5439: Origin of test
+dnl @ expected status: 0
+dnl @ extra options:
+dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software
+dnl @ Foundation, Inc.
+dnl @ This file is free software; the Free Software Foundation
+dnl @ gives unlimited permission to copy and/or distribute it
+dnl @ with or without modifications, as long as this notice
+dnl @ is preserved.
+divert(`1')diverted text
+divert
+dnl @result{}
+undivert()
+dnl @result{}
+undivert(`0')
+dnl @result{}
+undivert
+dnl @result{}diverted text
+dnl @result{}
+divert(`1')more
+divert(`2')undivert(`1')diverted text`'divert
+dnl @result{}
+undivert(`1')
+dnl @result{}
+undivert(`2')
+dnl @result{}more
+dnl @result{}diverted text