Busybox: Upgrade to 1.21.1 (stable). lsof active.
[tomato.git] / release / src / router / php / ext / imap / tests / imap_undelete_basic.phpt
blob4b48b1b09aefca46a057506c1d8bfd493e376144
1 --TEST--
2 imap_undelete() function : basic functionality 
3 --CREDITS--
4 Olivier Doucet
5 --SKIPIF--
6 <?php
7 require_once(dirname(__FILE__).'/skipif.inc');
8 ?>
9 --FILE--
10 <?php
12 require_once(dirname(__FILE__).'/imap_include.inc');
13 $stream_id = setup_test_mailbox('', 1);
15 imap_delete($stream_id, 1);
17 var_dump(imap_undelete($stream_id, 1));
19 imap_close($stream_id);
22 --CLEAN--
23 <?php 
24 require_once('clean.inc');
26 --EXPECTF--
27 Create a temporary mailbox and add 1 msgs
28 .. mailbox '{%s}%s' created
29 bool(true)