From 98602abb9e76b123356109505abcf982d1781868 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Mon, 21 Sep 2020 10:45:06 +0200 Subject: [PATCH] moved test scripts to new tests dir and made them executable --- code/gcd.txt => tests/gcd | 2 ++ code/hello.txt => tests/hello | 2 ++ code/slicer.txt => tests/slicer | 2 ++ code/whats-your-name.txt => tests/whats-your-name | 2 ++ 4 files changed, 8 insertions(+) rename code/gcd.txt => tests/gcd (89%) mode change 100644 => 100755 rename code/hello.txt => tests/hello (82%) mode change 100644 => 100755 rename code/slicer.txt => tests/slicer (89%) mode change 100644 => 100755 rename code/whats-your-name.txt => tests/whats-your-name (63%) mode change 100644 => 100755 diff --git a/code/gcd.txt b/tests/gcd old mode 100644 new mode 100755 similarity index 89% rename from code/gcd.txt rename to tests/gcd index 04f9cca..e13e964 --- a/code/gcd.txt +++ b/tests/gcd @@ -1,3 +1,4 @@ +#!/usr/bin/env curly >main gto :gcd @@ -48,4 +49,5 @@ ret 6 >lcm fun +out end diff --git a/code/hello.txt b/tests/hello old mode 100644 new mode 100755 similarity index 82% rename from code/hello.txt rename to tests/hello index ad75cb2..bc69d49 --- a/code/hello.txt +++ b/tests/hello @@ -1,3 +1,4 @@ +#!/usr/bin/env curly 3 =cnt \Hello, world! @@ -18,4 +19,5 @@ $cnt >loop ggt $result +out end diff --git a/code/slicer.txt b/tests/slicer old mode 100644 new mode 100755 similarity index 89% rename from code/slicer.txt rename to tests/slicer index 975c20b..ad70a43 --- a/code/slicer.txt +++ b/tests/slicer @@ -1,3 +1,4 @@ +#!/usr/bin/env curly >main gto :slicer @@ -37,4 +38,5 @@ len 2 >slicer fun +out end diff --git a/code/whats-your-name.txt b/tests/whats-your-name old mode 100644 new mode 100755 similarity index 63% rename from code/whats-your-name.txt rename to tests/whats-your-name index b451eeb..48b0a1b --- a/code/whats-your-name.txt +++ b/tests/whats-your-name @@ -1,6 +1,8 @@ +#!/usr/bin/env curly \What's your name? out \Hello, inp cat +out end