![]() |
![]() |
![]() |
![]() |
![]() |
Crash Recovery
In the event of a TTCN Suite crash, it is possible to recover up-to-the-minute changes. The auto-save content is stored in two "comma files": filename,s and filename,t, where filename consists of the name of the file they are associated with and in some cases a '#' character and an integer number. The '#' character and the integer number are added when a file with the same name already exist. This can happens when a crash has occurred previously or when the Suite with the same filename is opened in another TTCN Suite Browser. The integer number is increased until a unique filename can be created. The files can be found in the designated temporary directory, usually /var/tmp. To be able to open those files, you need to concatenate them into a .itex format file. This is accomplished with the iconcat program.
iconcat /var/tmp/FooSuite FooSuite-saved.itexThis will concatenate the content of the TTCN Suite files /var/tmp/FooSuite,s and /var/tmp/FooSuite,t into the FooSuite-saved.itex ITEX file. Note that the program will ignore a /var/tmp/FooSuite file, despite the argument syntax.
You may notice that the program has the "style" of a specialized cp program. Running the program without any arguments will print out a terse usage message.
http://www.ibm.com/rational |
![]() |
![]() |
![]() |
![]() |