From b157f9a188275572d799f0fea447d60c674e8f7c Mon Sep 17 00:00:00 2001
From: Petr Rockai <me@mornfall.net>
Date: Mon, 13 Jan 2020 13:38:48 +0000
Subject: [PATCH] test: Update testcases which used verify -D to use -E.

---
 test/dios/options/main-args-c.c | 2 +-
 test/dios/options/main-args-d.c | 5 +++--
 test/libc/getenv1.c             | 2 +-
 test/verify/env.cpp             | 2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/test/dios/options/main-args-c.c b/test/dios/options/main-args-c.c
index 05c5ca2b9..ca173ba6a 100644
--- a/test/dios/options/main-args-c.c
+++ b/test/dios/options/main-args-c.c
@@ -1,5 +1,5 @@
 /* TAGS: min c */
-// VERIFY_OPTS: -D a=b -Dc=d
+// VERIFY_OPTS: -E a=b -Ec=d
 // PROGRAM_OPTS: test
 // SKIP_CC: 1
 
diff --git a/test/dios/options/main-args-d.c b/test/dios/options/main-args-d.c
index f3f7243bb..7908e0c07 100644
--- a/test/dios/options/main-args-d.c
+++ b/test/dios/options/main-args-d.c
@@ -1,12 +1,13 @@
 /* TAGS: min c */
-// VERIFY_OPTS: -D a=b -Dc=d -Dfootball
+// VERIFY_OPTS: -E a=b -Ec=d -Efootball
 // SKIP_CC: 1
 
 #include <dios.h>
 #include <assert.h>
 #include <string.h>
 
-int main( int argc, char **argv, char **envp ) {
+int main( int argc, char **argv, char **envp )
+{
     assert( argc == 1 );
     const char* test_name = "main-args-d.c";
     int tl = strlen( test_name );
diff --git a/test/libc/getenv1.c b/test/libc/getenv1.c
index fea7f88df..1fdac5cd1 100644
--- a/test/libc/getenv1.c
+++ b/test/libc/getenv1.c
@@ -1,5 +1,5 @@
 /* TAGS: min c */
-// VERIFY_OPTS: -Dnotpass -D TEST=passed
+// VERIFY_OPTS: -Enotpass -E TEST=passed
 #include <stdlib.h>
 #include <assert.h>
 
diff --git a/test/verify/env.cpp b/test/verify/env.cpp
index f1f8eaf0e..6b1f9db8c 100644
--- a/test/verify/env.cpp
+++ b/test/verify/env.cpp
@@ -1,5 +1,5 @@
 /* TAGS: min c++ */
-/* VERIFY_OPTS: -DFOO=blabla -DBAR=0 */
+/* VERIFY_OPTS: -EFOO=blabla -EBAR=0 */
 
 #include <cstdlib>
 #include <string>
-- 
GitLab