From 7cecbd20091ee8a3667e5767b7ff24a248da9237 Mon Sep 17 00:00:00 2001 From: Castulo Martinez Date: Thu, 16 Aug 2018 13:29:51 -0700 Subject: [PATCH] Adding the global ignore list for tests Tests that compare output with an expected output strip text in ignore files first. This commit adds a global ignore-list intended to be used as a fallback for all tests. --- test/functional/README.md | 1 + test/functional/ignore-list.global | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 test/functional/ignore-list.global diff --git a/test/functional/README.md b/test/functional/README.md index 907aedb2..19369c38 100644 --- a/test/functional/README.md +++ b/test/functional/README.md @@ -468,6 +468,7 @@ Example: ```bash run assert_files_not_equal foo/bar foo/baz +``` ### Ignore lists When using assertions that compare the command output to an expected output (for example diff --git a/test/functional/ignore-list.global b/test/functional/ignore-list.global new file mode 100644 index 00000000..8dbed62f --- /dev/null +++ b/test/functional/ignore-list.global @@ -0,0 +1,3 @@ +sh: .*/usr/bin/clr-boot-manager: No such file or directory +sh: .*/usr/bin/clr-boot-manager: not found +Update took .* seconds