⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 security.test

📁 tcl是工具命令语言
💻 TEST
字号:
# security.test --## Functionality covered: this file contains a collection of tests for the# auto loading and namespaces.## Sourcing this file into Tcl runs the tests and generates output for# errors. No output means no errors were found.## Copyright (c) 1997 Sun Microsystems, Inc.# Copyright (c) 1998-1999 by Scriptics Corporation.# All rights reserved.## RCS: @(#) $Id: security.test,v 1.5 2000/04/10 17:19:04 ericm Exp $if {[lsearch [namespace children] ::tcltest] == -1} {    package require tcltest    namespace import -force ::tcltest::*}# If this proc becomes invoked, then there is a bugproc BUG {args} {  set ::BUG 1}# Check and Clear the bug flag (to do before each test)set ::BUG 0proc CB {} {    set ret $::BUG    set ::BUG 0    return $ret}test sec-1.1 {tcl_endOfPreviousWord} {    catch {tcl_startOfPreviousWord x {[BUG]}}    CB} 0# cleanup::tcltest::cleanupTestsreturn

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -