SoW-2019-0002: Dynamic Snapshot
[lttng-tools.git] / tests / unit / test_utils_expand_path.c
index e0cd366132b8184b7f4e8e362507cdd3f31660ac..d7e7f2b054fb067570ca77543b94ed1405194b11 100644 (file)
@@ -1,18 +1,8 @@
 /*
- * Copyright (C) 2013 Raphaël Beamonte <raphael.beamonte@gmail.com>
+ * Copyright (C) 2013 Raphaël Beamonte <raphael.beamonte@gmail.com>
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by as
- * published by the Free Software Foundation; only version 2 of the License.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include <assert.h>
@@ -35,19 +25,19 @@ int lttng_opt_verbose = 3;
 int lttng_opt_mi;
 
 struct valid_test_input {
-       char *input;
-       char *relative_part;
-       char *absolute_part;
+       const char *input;
+       const char *relative_part;
+       const char *absolute_part;
 };
 
 struct tree_symlink {
-       char *orig;
-       char *dest;
+       const char *orig;
+       const char *dest;
 };
 
 struct symlink_test_input {
-       char *input;
-       char *expected_result;
+       const char *input;
+       const char *expected_result;
 };
 
 /* Valid test cases */
This page took 0.025368 seconds and 5 git commands to generate.