Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
81c77bee
Commit
81c77bee
authored
Sep 27, 2006
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a call to backup the exp directory when a swapin fails, so there
is something to debug.
parent
6a01f66c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
tbsetup/template_instantiate.in
tbsetup/template_instantiate.in
+3
-0
tbsetup/template_swapin.in
tbsetup/template_swapin.in
+3
-0
No files found.
tbsetup/template_instantiate.in
View file @
81c77bee
...
...
@@ -846,6 +846,9 @@ sub cleanup()
if
(
$exptcreated
)
{
exit
(
-
1
)
if
(
!
TBExptIDX
(
$pid
,
$eid
,
\
$exptidx
));
# Before killing it, save off the user directory for debugging.
$experiment
->
BackupUserData
();
system
("
$endexp
-x -q -w
$pid
$eid
");
exit
(
-
1
)
...
...
tbsetup/template_swapin.in
View file @
81c77bee
...
...
@@ -846,6 +846,9 @@ sub cleanup()
if
(
$exptcreated
)
{
exit
(
-
1
)
if
(
!
TBExptIDX
(
$pid
,
$eid
,
\
$exptidx
));
# Before killing it, save off the user directory for debugging.
$experiment
->
BackupUserData
();
system
("
$endexp
-x -q -w
$pid
$eid
");
exit
(
-
1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment