write

来自「make debug tool. You can use this tool t」· 代码 · 共 30 行

TXT
30
字号
#                                                                    -*-perl-*-# $Id: write,v 1.2 2005/12/24 03:00:54 rockyb Exp $$description = "The following test checks that writing to a full filesystemgives an error.";$details = "We use issue \"make --print-data-base\",  redirectoutput to /dev/full and check for a non-zero return code /dev/full.\n";return -1 if $port_type ne 'UNIX' || ! -e '/dev/full';open(MAKEFILE,"> $makefile");print MAKEFILE <<EOF;a: ;EOFclose(MAKEFILE);if (run_make_with_options($makefile, "--print-data-base", '/dev/full',			  256)) {    ++$tests_passed;    $suite_passed = 1;} else {    $suite_passed = 0;}++$tests_run;1;

⌨️ 快捷键说明

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