aboutsummaryrefslogtreecommitdiff
path: root/tests/function/call
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-18 17:28:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-18 17:30:47 +0200
commit6b7075adc71104c5f6ad652b99fb753565eb67d8 (patch)
tree1f4d91b7cd9ee7cca793f0ecc504ccc4d8dde0d2 /tests/function/call
parentdd008d6e48b0bb66e1b9fdc489d9d1d9b4cb8d25 (diff)
Add function machinery, implement path.normalize()
Note that multi-argument functions are not yet "callable" since there is no support for value packs.
Diffstat (limited to 'tests/function/call')
-rw-r--r--tests/function/call/buildfile17
-rw-r--r--tests/function/call/test.out9
-rwxr-xr-xtests/function/call/test.sh3
3 files changed, 0 insertions, 29 deletions
diff --git a/tests/function/call/buildfile b/tests/function/call/buildfile
deleted file mode 100644
index 136f652..0000000
--- a/tests/function/call/buildfile
+++ /dev/null
@@ -1,17 +0,0 @@
-$identity()
-$identity (a)
-$identity (a b c)
-$identity(sub/dir{x y z})
-
-print a$identity (b)c
-
-# Verify we can inhibit function call with quoting.
-#
-foo = FOO
-bar = BAR
-
-print $foo"($bar)"
-print "$foo"($bar)
-print "$foo""($bar)"
-
-./:
diff --git a/tests/function/call/test.out b/tests/function/call/test.out
deleted file mode 100644
index 88a852b..0000000
--- a/tests/function/call/test.out
+++ /dev/null
@@ -1,9 +0,0 @@
-identity()
-identity(a)
-identity(a b c)
-identity(sub/dir{x} sub/dir{y} sub/dir{z})
-identity(b)
-ac
-FOOBAR
-FOOBAR
-FOOBAR
diff --git a/tests/function/call/test.sh b/tests/function/call/test.sh
deleted file mode 100755
index c745b76..0000000
--- a/tests/function/call/test.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-b -q | diff --strip-trailing-cr -u test.out -