_acs-tcl__util__file_content_check (private)
_acs-tcl__util__file_content_check
Defined in packages/acs-tcl/tcl/test/utilities-procs.tcl
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set _aa_export {} set body_count 1 foreach testcase_body {{ set sourcefile $::acs::rootdir/packages/acs-tcl/tcl/test/utilities-procs.tcl set gzip [::util::which gzip] if {$gzip ne ""} { set file [ad_tmpnam] ad_file copy $sourcefile $file if {[ad_file exists $file.gz]} { ad_file delete $file.gz } exec $gzip < $file > $file.gz aa_true "check detection of gzip file" [util::file_content_check -type gzip -file $file.gz] ad_file delete $file.gz } }} { aa_log "Running testcase body $body_count" set ::__aa_test_indent [info level] set catch_val [catch $testcase_body msg] if {$catch_val != 0 && $catch_val != 2} { aa_log_result "fail" "util__file_content_check (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle