/ Check-in [4ecbc75b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove the dependence on "exec ls -U" from the vtabH.test module, as the -U option to "ls" is not universally available.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:4ecbc75b465533cf80e166a9d0879b9afd3fe2be
User & Date: drh 2015-12-04 13:44:07
Context
2015-12-07
16:43
Changes to avoid undefined behavior detected by analysis tools - never observed in the wild. Later: This check-in introduces a bug, fixed at [a304e34675404aee]. check-in: a9e81908 user: drh tags: trunk
2015-12-05
20:51
Add untested implementations of experimental APIs sqlite3_snapshot_get(), _open() and _free(). check-in: 0715eb00 user: dan tags: snapshot-get
2015-12-04
13:44
Remove the dependence on "exec ls -U" from the vtabH.test module, as the -U option to "ls" is not universally available. check-in: 4ecbc75b user: drh tags: trunk
03:27
Prevent a segfault on Solaris in the test_fs.c due to differences in the definition of the dirent object. check-in: 042738ad user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/vtabH.test.

   121    121         set res [list]
   122    122         foreach name [glob -directory $::env(SystemDrive)/ -- *] {
   123    123           if {[string index [file tail $name] 0] eq "."} continue
   124    124           lappend res $name
   125    125         }
   126    126         return $res
   127    127       } else {
   128         -      return [exec ls -U /]
          128  +      return [string map {/ {}} [glob /*]]
   129    129       }
   130    130     }
   131    131   
   132    132     proc list_files { pattern } {
   133    133       if {$::tcl_platform(platform) eq "windows"} {
   134    134         set res [list]
   135    135         foreach name [glob -nocomplain $pattern] {
................................................................................
   210    210       SELECT size FROM fstree WHERE path = $pwd || '/subdir/x1.txt'
   211    211     } 143
   212    212   
   213    213   }
   214    214   
   215    215   
   216    216   finish_test
   217         -
   218         -