Index: openacs-4/packages/acs-templating/tcl/test/file-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/test/file-procs.tcl,v diff -u -r1.1.2.5 -r1.1.2.6 --- openacs-4/packages/acs-templating/tcl/test/file-procs.tcl 9 Sep 2022 11:32:59 -0000 1.1.2.5 +++ openacs-4/packages/acs-templating/tcl/test/file-procs.tcl 8 Oct 2022 17:52:08 -0000 1.1.2.6 @@ -185,12 +185,16 @@ set tmpdir [file dirname $tmpfile] set new_path $tmpdir/acs-templating-test-template-widget-file + aa_log "exec ls -ltr $new_path
[exec ls -ltr $tmpdir/ | tail]
" + catch {exec -ignorestderr find /tmp/ -mmin -1 -type f 2> /dev/null} err + aa_log "
$err
" + aa_log "new path exists $new_path -> [file exists $new_path]" + aa_log "old file exists $tmpfile -> [file exists $tmpfile]" aa_true "Form received a different file" [file exists $new_path] aa_equals "The other file has the same content of our file" \ [ns_md file $new_path] [ns_md file $tmpfile] file delete -- $new_path - # # Here we expect 302 because the form redirects on success #