Megatest

Check-in [928642b2fd]
Login
Overview
Comment:Minor update to unit tests
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.60
Files: files | file ages | folders
SHA1: 928642b2fd39f52690d8bf80dba85e61ce148414
User & Date: mrwellan on 2016-02-02 07:52:47
Other Links: branch diff | manifest | tags
Context
2016-02-03
21:39
Mostly updated Makefile.installall check-in: 838e4161b7 user: matt tags: v1.60
2016-02-02
07:52
Minor update to unit tests check-in: 928642b2fd user: mrwellan tags: v1.60
2016-02-01
23:22
Fixed silly issue caused by accidentally checking in changes made while discussing code for illustration purposes check-in: 4cf5c411c5 user: matt tags: v1.60
Changes

Modified tests/unittests/misc.scm from [6b0f595ffe] to [dd44f991b6].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(use sqlite3)

;;======================================================================
;; P R O C E S S E S
;;======================================================================

(test "cmd-run-with-stderr->list" '("No such file or directory")
      (let ((reslst (cmd-run-with-stderr->list "ls" "/tmp/ihadbetternotexist")))
	(string-search (regexp "No such file or directory")(car reslst))))

;;======================================================================
;; T E S T   M A T C H I N G
;;======================================================================

;; tests:glob-like-match






|
|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(use sqlite3)

;;======================================================================
;; P R O C E S S E S
;;======================================================================

(test "process:cmd-run-with-stderr->list" '("No such file or directory")
      (let ((reslst (process:cmd-run-with-stderr->list "ls" "/tmp/ihadbetternotexist")))
	(string-search (regexp "No such file or directory")(car reslst))))

;;======================================================================
;; T E S T   M A T C H I N G
;;======================================================================

;; tests:glob-like-match