summaryrefslogtreecommitdiff
path: root/hscript/user.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-18 17:24:11 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-18 17:24:11 -0500
commite4cd6fffb79807fa1d184bc8d108a91aea8af649 (patch)
tree7036c49774f60c0e39c2458b389dada5a59b0092 /hscript/user.cc
parent5c9056e171f919b6d662011eb594d840636f3ea4 (diff)
downloadhorizon-e4cd6fffb79807fa1d184bc8d108a91aea8af649.tar.gz
horizon-e4cd6fffb79807fa1d184bc8d108a91aea8af649.tar.bz2
horizon-e4cd6fffb79807fa1d184bc8d108a91aea8af649.tar.xz
horizon-e4cd6fffb79807fa1d184bc8d108a91aea8af649.zip
hscript: Mark install-only sections as untestable
Diffstat (limited to 'hscript/user.cc')
-rw-r--r--hscript/user.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/hscript/user.cc b/hscript/user.cc
index 0513d21..4d00cb2 100644
--- a/hscript/user.cc
+++ b/hscript/user.cc
@@ -58,6 +58,8 @@ bool RootPassphrase::execute(ScriptOptions options) const {
return false;
}
+ /* LCOV_EXCL_START */
+ /* This was tested on gwyn during development. */
std::stringstream shadow_stream;
char shadow_line[200];
/* Discard root. */
@@ -81,4 +83,5 @@ bool RootPassphrase::execute(ScriptOptions options) const {
}
new_shadow << shadow_stream.str();
return true;
+ /* LCOV_EXCL_STOP */
}