~ubuntu-branches/ubuntu/utopic/gnustep-base/utopic

« back to all changes in this revision

Viewing changes to Tests/base/NSStream/basic.m

  • Committer: Package Import Robot
  • Author(s): Paul Gevers
  • Date: 2014-07-19 13:02:18 UTC
  • mfrom: (20.1.6 utopic-proposed)
  • Revision ID: package-import@ubuntu.com-20140719130218-pn967l7wzjjf90yi
Tags: 1.24.6-2ubuntu1
* debian/rules:
  - Print the config.log if configure fails to debug
    powerpc/ppc64el FTBFS. (LP: #1277975)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
  NSAutoreleasePool   *arp = [NSAutoreleasePool new];
8
8
  NSInputStream *t1;
9
9
  NSOutputStream *t2;
 
10
  NSArray *a;
10
11
  NSHost *host = [NSHost hostWithName:@"localhost"];
11
12
 
12
13
  [NSStream getStreamsToHost:host port:80 inputStream:&t1 outputStream:&t2];
13
14
 
14
 
  test_NSObject(@"NSStream", [NSArray arrayWithObjects:t1, t2, nil]); 
 
15
  a = [NSArray arrayWithObjects:t1, t2, nil]; 
 
16
  test_NSObject(@"NSStream", a); 
15
17
 
16
18
  [arp release]; arp = nil;
17
19
  return 0;