This website requires JavaScript.
Explore
Help
Register
Sign In
emo
/
procps
Watch
1
Star
0
Fork
0
You've already forked procps
Code
Issues
Pull Requests
Packages
Releases
Activity
c1dbd41d2b
procps
/
testsuite
/
lib.test
/
fileutils_full.sh
5 lines
48 B
Bash
Raw
Normal View
History
Unescape
Escape
lib: add fileutils file with stream error checking facility The close_stream() is copied from GNU lib. Inspiration to do this is talk by Jim Meyering - Goodbye World! The perils of relying on output streams in C. Reference: http://www.irill.org/events/ghm-gnu-hackers-meeting/videos/jim-meyering-goodbye-world-the-perils-of-relying-on-output-streams-in-c Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-03-23 15:40:04 +05:30
#!/bin/sh
misc: testsuite to source aux scripts correctly Because I don't know how to redirect properly in tcl, there are some small scripts that do this for me. With your standard make check, all is good because the scripts and the binary are in the usual spots. make distcheck however puts them all over the place. The binary is in a different tree to the test and aux scripts. The change now tells where aux script where its binary is.
2016-07-10 04:34:44 +05:30
TESTPROG
=
${
1
}
${
TESTPROG
}
>/dev/full
Reference in New Issue
Copy Permalink