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

📄 test.pl

📁 对cisco路由器的命令模拟
💻 PL
📖 第 1 页 / 共 2 页
字号:
# Before `make install' is performed this script should be runnable with# `make test'. After `make install' it should work as `perl test.pl'######################### We start with some black magic to print on failure.# Change 1..1 below to 1..last_test_to_print .# (It may become useful if the test is moved to ./t subdirectory.)BEGIN { $| = 1; print "1..20\n"; }END {print "not ok 1\n" unless $loaded;}use Text::Reflow qw(reflow_file reflow_string reflow_array);$loaded = 1;print "ok 1\n";######################### End of black magic.# Insert your test code below (better if it prints "ok 13"# (correspondingly "not ok 13") depending on the success of chunk 13# of the test code):$test1 = <<EOF;				      1851				   MOBY DICK;				  OR THE WHALE			       by Herman Melville  ETYMOLOGY  (Supplied by a Late Consumptive Usher to a Grammar School)  The pale Usher--threadbare in coat, heart, body, and brain; I see him now.He was ever dusting his old lexicons and grammars, with a queer handkerchief, mockingly embellished with all the gay flags of all the known nations of the world. He loved to dust his old grammars; it somehow mildly reminded him of his mortality.CHAPTER ICall me Ishmael. Some years ago--never mind how long precisely--havinglittle or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen and regulating the circulation. Whenever I find myself growing grim about the mouth; whenever it is a damp, drizzly November in my soul; whenever I find myself involuntarily pausing before coffin warehouses, and bringing up the rear of every funeral I meet; and especially whenever my hypos get such an upper hand of me, that it requires a strong moral principle to prevent me from deliberately stepping into the street, and methodically knocking people's hats off--then, I account it high time to get to sea as soon as I can. This is my substitute for pistol and ball. With a philosophical flourish Cato throws himself upon his sword; I quietly take to the ship. There is nothing surprising in this. If they but knew it, almost all men in their degree, some time or other, cherish very nearly the same feelings towards the ocean with me.EOF$test2 = <<EOF;				      1851				   MOBY DICK;				  OR THE WHALE			       by Herman MelvilleETYMOLOGY(Supplied by a Late Consumptive Usher to a Grammar School)The pale Usher--threadbare in coat, heart, body, and brain;I see him now.  He was ever dusting his old lexicons and grammars,with a queer handkerchief, mockingly embellished with all the gayflags of all the known nations of the world.  He loved to dusthis old grammars; it somehow mildly reminded him of his mortality.CHAPTER ICall me Ishmael.  Some years ago--never mind how long precisely--having little or no money in my purse, and nothing particular tointerest me on shore, I thought I would sail about a little and seethe watery part of the world.  It is a way I have of driving offthe spleen and regulating the circulation.  Whenever I find myselfgrowing grim about the mouth; whenever it is a damp, drizzly Novemberin my soul; whenever I find myself involuntarily pausing beforecoffin warehouses, and bringing up the rear of every funeral I meet;and especially whenever my hypos get such an upper hand of me,that it requires a strong moral principle to prevent me fromdeliberately stepping into the street, and methodically knockingpeople's hats off--then, I account it high time to get to seaas soon as I can.  This is my substitute for pistol and ball.With a philosophical flourish Cato throws himself upon his sword;I quietly take to the ship.  There is nothing surprising in this.If they but knew it, almost all men in their degree, some time or other,cherish very nearly the same feelings towards the ocean with me.EOF$test3 = <<EOF;				      1851				   MOBY DICK;				  OR THE WHALE			       by Herman Melville  ETYMOLOGY  (Supplied by a Late Consumptive Usher to a Grammar School)  The pale Usher--threadbare in coat, heart, body, and brain; I see him now.He was ever dusting his old lexicons and grammars, with a queerhandkerchief, mockingly embellished with all the gay flags of all the knownnations of the world. He loved to dust his old grammars; it somehow mildlyreminded him of his mortality.CHAPTER ICall me Ishmael.  Some years ago--never mind how long precisely--having little or no money in my purse, and nothing particular tointerest me on shore, I thought I would sail about a little and seethe watery part of the world.  It is a way I have of driving offthe spleen and regulating the circulation.  Whenever I find myselfgrowing grim about the mouth; whenever it is a damp, drizzly Novemberin my soul; whenever I find myself involuntarily pausing beforecoffin warehouses, and bringing up the rear of every funeral I meet;and especially whenever my hypos get such an upper hand of me,that it requires a strong moral principle to prevent me fromdeliberately stepping into the street, and methodically knockingpeople's hats off--then, I account it high time to get to seaas soon as I can.  This is my substitute for pistol and ball.With a philosophical flourish Cato throws himself upon his sword;I quietly take to the ship.  There is nothing surprising in this.If they but knew it, almost all men in their degree, some time or other,cherish very nearly the same feelings towards the ocean with me.EOF$test4 = <<EOF;				      1851				   MOBY DICK;				  OR THE WHALE			       by Herman Melville  ETYMOLOGY  (Supplied by a Late Consumptive Usher to a Grammar School)  The pale Usher--threadbare in coat, heart, body, and brain; I see him now.He was ever dusting his old lexicons and grammars, with a queerhandkerchief, mockingly embellished with all the gay flags of allthe known nations of the world.  He loved to dust his old grammars;it somehow mildly reminded him of his mortality.CHAPTER ICall me Ishmael.  Some years ago--never mind how long precisely--having little or no money in my purse, and nothing particular tointerest me on shore, I thought I would sail about a little and seethe watery part of the world.  It is a way I have of driving offthe spleen and regulating the circulation.  Whenever I find myselfgrowing grim about the mouth; whenever it is a damp, drizzly Novemberin my soul; whenever I find myself involuntarily pausing beforecoffin warehouses, and bringing up the rear of every funeral I meet;and especially whenever my hypos get such an upper hand of me,that it requires a strong moral principle to prevent me fromdeliberately stepping into the street, and methodically knockingpeople's hats off--then, I account it high time to get to seaas soon as I can.  This is my substitute for pistol and ball.With a philosophical flourish Cato throws himself upon his sword;I quietly take to the ship.  There is nothing surprising in this.If they but knew it, almost all men in their degree, some time or other,cherish very nearly the same feelings towards the ocean with me.EOF$test5 = <<EOF;				      1851				   MOBY DICK;				  OR THE WHALE			       by Herman MelvilleETYMOLOGY(Supplied by a Late Consumptive Usher to a Grammar School)The pale Usher--threadbare in coat, heart, body, and brain;I see him now.  He was ever dusting his old lexicons and grammars,with a queer handkerchief, mockingly embellished with allthe gay flags of all the known nations of the world.He loved to dust his old grammars; it somehow mildly remindedhim of his mortality.CHAPTER ICall me Ishmael.  Some years ago--never mind how long precisely--having little or no money in my purse, and nothing particularto interest me on shore, I thought I would sail about a littleand see the watery part of the world.  It is a way I haveof driving off the spleen and regulating the circulation.Whenever I find myself growing grim about the mouth;whenever it is a damp, drizzly November in my soul; whenever Ifind myself involuntarily pausing before coffin warehouses,and bringing up the rear of every funeral I meet;and especially whenever my hypos get such an upper hand of me,that it requires a strong moral principle to prevent me fromdeliberately stepping into the street, and methodically knockingpeople's hats off--then, I account it high time to get to seaas soon as I can.  This is my substitute for pistol and ball.With a philosophical flourish Cato throws himself upon his sword;I quietly take to the ship.  There is nothing surprising in this.If they but knew it, almost all men in their degree,some time or other, cherish very nearly the same feelingstowards the ocean with me.EOF$test6 = <<EOF;>> 				      1851> 				   MOBY DICK;> 				  OR THE WHALE> 			       by Herman Melville>> ETYMOLOGY>> (Supplied by a Late Consumptive Usher to a Grammar School)>> The pale Usher--threadbare in coat, heart, body, and brain;> I see him now.  He was ever dusting his old lexicons and grammars,> with a queer handkerchief, mockingly embellished with all> the gay flags of all the known nations of the world.> He loved to dust his old grammars; it somehow mildly reminded> him of his mortality.>> CHAPTER I>> Call me Ishmael.  Some years ago--never mind how long precisely--> having little or no money in my purse, and nothing particular> to interest me on shore, I thought I would sail about a little> and see the watery part of the world.  It is a way I have> of driving off the spleen and regulating the circulation.> Whenever I find myself growing grim about the mouth;> whenever it is a damp, drizzly November in my soul; whenever I> find myself involuntarily pausing before coffin warehouses,> and bringing up the rear of every funeral I meet;> and especially whenever my hypos get such an upper hand of me,> that it requires a strong moral principle to prevent me from> deliberately stepping into the street, and methodically knocking> people's hats off--then, I account it high time to get to sea> as soon as I can.  This is my substitute for pistol and ball.> With a philosophical flourish Cato throws himself upon his sword;> I quietly take to the ship.  There is nothing surprising in this.> If they but knew it, almost all men in their degree,> some time or other, cherish very nearly the same feelings> towards the ocean with me.>EOF$test7 = <<EOF;				      1851				   MOBY DICK;				  OR THE WHALE			       by Herman Melville  ETYMOLOGY(Supplied by a Late Consumptive Usher to a Grammar School)The pale Usher--threadbare in coat, heart, body, and brain;  I see him now.  He was ever dusting his old lexicons and grammars,  with a queer handkerchief, mockingly embellished with all  the gay flags of all the known nations of the world.  He loved to dust his old grammars; it somehow mildly reminded  him of his mortality.

⌨️ 快捷键说明

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