~ubuntu-branches/ubuntu/gutsy/m4/gutsy

« back to all changes in this revision

Viewing changes to checks/046.ifelse

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-08-01 14:00:55 UTC
  • mfrom: (1.5.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070801140055-ob48jo517shsyvgk
Tags: 1.4.10-0ubuntu1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl @ ../doc/m4.texinfo:2345: Origin of test
2
 
dnl @ expected status: 0
3
 
dnl @ Copyright (C) 2006, 2007 Free Software Foundation
4
 
dnl @ This file is free software; the Free Software Foundation
5
 
dnl @ gives unlimited permission to copy and/or distribute it
6
 
dnl @ with or without modifications, as long as this notice
7
 
dnl @ is preserved.
8
 
ifelse(`foo', `bar', `true')
9
 
dnl @result{}
10
 
ifelse(`foo', `foo', `true')
11
 
dnl @result{}true
12
 
define(`foo', `bar')
13
 
dnl @result{}
14
 
ifelse(foo, `bar', `true', `false')
15
 
dnl @result{}true
16
 
ifelse(foo, `foo', `true', `false')
17
 
dnl @result{}false