summaryrefslogtreecommitdiffstats
path: root/src/test/TestSignalHandlers.cc
diff options
context:
space:
mode:
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>2011-03-29 01:10:33 +0200
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>2011-03-29 01:14:47 +0200
commitddcd64150edf3ebb6dfb53fa828328d07503ede5 (patch)
treef665e69e54f925c64e0cb2ee20a4f481619d26fb /src/test/TestSignalHandlers.cc
parentcommon: more argument parsing into ceph_argparse (diff)
downloadceph-ddcd64150edf3ebb6dfb53fa828328d07503ede5.tar.xz
ceph-ddcd64150edf3ebb6dfb53fa828328d07503ede5.zip
common: rename old argument parsing macros
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Diffstat (limited to 'src/test/TestSignalHandlers.cc')
-rw-r--r--src/test/TestSignalHandlers.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/TestSignalHandlers.cc b/src/test/TestSignalHandlers.cc
index 2159fabe6d5..71bc8bee4ab 100644
--- a/src/test/TestSignalHandlers.cc
+++ b/src/test/TestSignalHandlers.cc
@@ -98,13 +98,13 @@ int main(int argc, const char **argv)
DEFINE_CONF_VARS(usage);
FOR_EACH_ARG(args) {
- if (CONF_ARG_EQ("simple_segv", 's')) {
+ if (CEPH_ARGPARSE_EQ("simple_segv", 's')) {
simple_segv_test();
}
- else if (CONF_ARG_EQ("infinite_recursion", 'r')) {
+ else if (CEPH_ARGPARSE_EQ("infinite_recursion", 'r')) {
infinite_recursion_test();
}
- else if (CONF_ARG_EQ("help", 'h')) {
+ else if (CEPH_ARGPARSE_EQ("help", 'h')) {
usage();
}
}