テストの修正
authorj8takagi <j8takagi@nifty.com>
Wed, 27 Feb 2019 09:44:17 +0000 (18:44 +0900)
committerj8takagi <j8takagi@nifty.com>
Wed, 27 Feb 2019 09:44:17 +0000 (18:44 +0900)
test/system/casl2_opt/opt_opterr/0.txt
test/system/casl2_opt/opt_opterr/cmd
test/system/casl2_opt/opt_opterr/cmd_valgrind [new file with mode: 0644]
test/system/comet2_opt/opt_opterr/0.txt
test/system/comet2_opt/opt_opterr/cmd
test/system/comet2_opt/opt_opterr/cmd_valgrind [new file with mode: 0644]

index f281e21..06d7a62 100644 (file)
@@ -1,2 +1 @@
-../../../../casl2: invalid option -- 'z'
 Usage: ../../../../casl2 [-slLaAtTdmvh] [-oO[<OBJECTFILE>]] [-M <MEMORYSIZE>] [-C <CLOCKS>] FILE1[ FILE2  ...]
index 2fe73d6..e34566f 100755 (executable)
@@ -1 +1 @@
-../../../../casl2 -z ../../../../as/sum_10.casl
+../../../../casl2 -z ../../../../as/sum_10.casl 2>&1 | tail -1
diff --git a/test/system/casl2_opt/opt_opterr/cmd_valgrind b/test/system/casl2_opt/opt_opterr/cmd_valgrind
new file mode 100644 (file)
index 0000000..2fe73d6
--- /dev/null
@@ -0,0 +1 @@
+../../../../casl2 -z ../../../../as/sum_10.casl
index f939ca6..ad4ad38 100644 (file)
@@ -1,2 +1 @@
-../../../../comet2: invalid option -- 'z'
 Usage: ../../../../comet2 [-tTdmvh] [-M <MEMORYSIZE>] [-C <CLOCKS>] FILE
index 313abba..02566cf 100755 (executable)
@@ -1 +1 @@
-../../../../comet2 -z a.o
+../../../../comet2 -z a.o 2>&1 | tail -1
diff --git a/test/system/comet2_opt/opt_opterr/cmd_valgrind b/test/system/comet2_opt/opt_opterr/cmd_valgrind
new file mode 100644 (file)
index 0000000..313abba
--- /dev/null
@@ -0,0 +1 @@
+../../../../comet2 -z a.o