Bug 10130 - Argument to mktemp should have at lest 6 X's
Summary: Argument to mktemp should have at lest 6 X's
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-05 11:04 UTC by Eugeniy Meshcheryakov
Modified: 2009-05-05 19:30 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugeniy Meshcheryakov 2009-05-05 11:04:50 UTC
Current testsuite sometimes runs mktemp with only 5 X's in argument. On Debian
this results in errors like this:

Running
/tmp/systemtap-0.0.20090502/build-tree/src/testsuite/systemtap.printf/out1.exp
...                   
Failed to create temporary file: mktemp: cannot create temp file
/tmp/staptestXXXXX: Invalid argument        
mktemp: last six characters of template must be XXXXXX
Comment 1 Eugeniy Meshcheryakov 2009-05-05 19:30:21 UTC
I fixed this myself:

commit 9f27bd8143604a815b11b48ca054e03f78bdf69e
    Fix arguments to mktemp with less than 6 X's