From dbed808c7d534069f76e63a1a68a85f30d2be81c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 10 Sep 2019 23:23:43 +0300 Subject: Move testscript builtins to libbutl --- tests/test/script/builtin/test.testscript | 85 ------------------------------- 1 file changed, 85 deletions(-) delete mode 100644 tests/test/script/builtin/test.testscript (limited to 'tests/test/script/builtin/test.testscript') diff --git a/tests/test/script/builtin/test.testscript b/tests/test/script/builtin/test.testscript deleted file mode 100644 index 9fde142..0000000 --- a/tests/test/script/builtin/test.testscript +++ /dev/null @@ -1,85 +0,0 @@ -# file : tests/test/script/builtin/test.testscript -# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file - -.include ../common.testscript - -: file -: -{ - : exists - : - $c <"test: unknown option '-u'" == 2 - EOI - - : none - : - $c <"test: either -f|--file or -d|--directory must be specified" == 2 - EOI - - : both-file-dir - : - $c <"test: both -f|--file and -d|--directory specified" == 2 - EOI -} - -: args -: -{ - : none - : - $c <'test -f 2>"test: missing path" == 2' && $b - - : unexpected - : - $c <"test: unexpected argument 'b'" == 2 - EOI - - : empty-path - : - $c <"test: invalid path ''" == 2 - EOI -} -- cgit v1.1