diff --git a/src/smap/symver.py b/src/smap/symver.py index 22da9f5..993fb39 100755 --- a/src/smap/symver.py +++ b/src/smap/symver.py @@ -1295,11 +1295,11 @@ def update(args): # Write out to the output if args.out: with open(args.out, "w") as outfile: - outfile.write("# This map file was automatically updated\n\n") + outfile.write("# This map file was updated with smap\n\n") outfile.write(str(cur_map)) else: # Print to stdout - sys.stdout.write("# This map file was automatically updated\n\n") + sys.stdout.write("# This map file was updated with smap\n\n") sys.stdout.write(str(cur_map)) diff --git a/tests/data/test_check_files/out.map b/tests/data/test_check_files/out.map index 9a11f28..4c631fb 100644 --- a/tests/data/test_check_files/out.map +++ b/tests/data/test_check_files/out.map @@ -1,4 +1,4 @@ -# This map file was automatically updated +# This map file was updated with smap LIBX_1_1_0 { diff --git a/tests/data/test_script/update_add.stdout b/tests/data/test_script/update_add.stdout index a9a0fdc..22e15b4 100644 --- a/tests/data/test_script/update_add.stdout +++ b/tests/data/test_script/update_add.stdout @@ -1,7 +1,7 @@ Added: symbol -# This map file was automatically updated +# This map file was updated with smap BASE_1_1_0 { diff --git a/tests/data/test_script/update_remove.stdout b/tests/data/test_script/update_remove.stdout index ffb65dc..627998e 100644 --- a/tests/data/test_script/update_remove.stdout +++ b/tests/data/test_script/update_remove.stdout @@ -2,7 +2,7 @@ Removed: one_symbol Merging all symbols in a single new release -# This map file was automatically updated +# This map file was updated with smap TO_REMOVE_2_0_0 { diff --git a/tests/data/test_script/update_symbols.stdout b/tests/data/test_script/update_symbols.stdout index d4238d6..39d29a4 100644 --- a/tests/data/test_script/update_symbols.stdout +++ b/tests/data/test_script/update_symbols.stdout @@ -5,7 +5,7 @@ Removed: one_symbol Merging all symbols in a single new release -# This map file was automatically updated +# This map file was updated with smap BASE_2_0_0 { diff --git a/tests/data/test_update/add.outfile b/tests/data/test_update/add.outfile index 7ac0ece..cfb0f23 100644 --- a/tests/data/test_update/add.outfile +++ b/tests/data/test_update/add.outfile @@ -1,4 +1,4 @@ -# This map file was automatically updated +# This map file was updated with smap LIBTC1_1_1_0 { diff --git a/tests/data/test_update/add_present.stdout b/tests/data/test_update/add_present.stdout index 61939d4..b29c306 100644 --- a/tests/data/test_update/add_present.stdout +++ b/tests/data/test_update/add_present.stdout @@ -1,7 +1,7 @@ Added: symbol -# This map file was automatically updated +# This map file was updated with smap ADD_PRESENT_1_1_0 { diff --git a/tests/data/test_update/add_with_wildcard.map b/tests/data/test_update/add_with_wildcard.map index 546bfc5..a9f01eb 100644 --- a/tests/data/test_update/add_with_wildcard.map +++ b/tests/data/test_update/add_with_wildcard.map @@ -1,4 +1,4 @@ -# This map file was automatically updated +# This map file was updated with smap WITH_WILDCARD_1_0_0 { diff --git a/tests/data/test_update/add_with_wildcard.stdout b/tests/data/test_update/add_with_wildcard.stdout index 97ec174..d5e0a76 100644 --- a/tests/data/test_update/add_with_wildcard.stdout +++ b/tests/data/test_update/add_with_wildcard.stdout @@ -1,7 +1,7 @@ Added: symbol -# This map file was automatically updated +# This map file was updated with smap WITH_WILDCARD_1_1_0 { diff --git a/tests/data/test_update/baseless.outfile b/tests/data/test_update/baseless.outfile index f7264d6..5f2f190 100644 --- a/tests/data/test_update/baseless.outfile +++ b/tests/data/test_update/baseless.outfile @@ -1,4 +1,4 @@ -# This map file was automatically updated +# This map file was updated with smap BASELESS_2_0_0 { diff --git a/tests/data/test_update/duplicated.outfile b/tests/data/test_update/duplicated.outfile index d20991f..b7dddd4 100644 --- a/tests/data/test_update/duplicated.outfile +++ b/tests/data/test_update/duplicated.outfile @@ -1,4 +1,4 @@ -# This map file was automatically updated +# This map file was updated with smap LIBTC5_2_0_0 { diff --git a/tests/data/test_update/duplicated_symbol.map b/tests/data/test_update/duplicated_symbol.map index 5f01a17..7502456 100644 --- a/tests/data/test_update/duplicated_symbol.map +++ b/tests/data/test_update/duplicated_symbol.map @@ -1,4 +1,4 @@ -# This map file was automatically updated +# This map file was updated with smap DUPLICATED_1_0_0 { diff --git a/tests/data/test_update/duplicated_symbol.stdout b/tests/data/test_update/duplicated_symbol.stdout index 707d8e4..6d4f883 100644 --- a/tests/data/test_update/duplicated_symbol.stdout +++ b/tests/data/test_update/duplicated_symbol.stdout @@ -1,7 +1,7 @@ Added: symbol -# This map file was automatically updated +# This map file was updated with smap DUPLICATED_1_1_0 { diff --git a/tests/data/test_update/missing_visibility.outfile b/tests/data/test_update/missing_visibility.outfile index fd84847..1eea5f9 100644 --- a/tests/data/test_update/missing_visibility.outfile +++ b/tests/data/test_update/missing_visibility.outfile @@ -1,4 +1,4 @@ -# This map file was automatically updated +# This map file was updated with smap LIBTC5_6_0_0 { diff --git a/tests/data/test_update/mixed_names.stdout b/tests/data/test_update/mixed_names.stdout index 6dcc15e..8ed4064 100644 --- a/tests/data/test_update/mixed_names.stdout +++ b/tests/data/test_update/mixed_names.stdout @@ -1,7 +1,7 @@ Added: symbol -# This map file was automatically updated +# This map file was updated with smap ROGUE_RELEASE_4_6_0 { diff --git a/tests/data/test_update/overwrite.out b/tests/data/test_update/overwrite.out index 6e57eb9..8399d3c 100644 --- a/tests/data/test_update/overwrite.out +++ b/tests/data/test_update/overwrite.out @@ -1,4 +1,4 @@ -# This map file was automatically updated +# This map file was updated with smap LIBTC4_2_0_0 { diff --git a/tests/data/test_update/remove.out b/tests/data/test_update/remove.out index 0f68e68..984c29f 100644 --- a/tests/data/test_update/remove.out +++ b/tests/data/test_update/remove.out @@ -1,4 +1,4 @@ -# This map file was automatically updated +# This map file was updated with smap LIBTC2_2_0_0 { diff --git a/tests/data/test_update/remove_with_wildcard.map b/tests/data/test_update/remove_with_wildcard.map index ac18d71..180067c 100644 --- a/tests/data/test_update/remove_with_wildcard.map +++ b/tests/data/test_update/remove_with_wildcard.map @@ -1,4 +1,4 @@ -# This map file was automatically updated +# This map file was updated with smap WITH_WILDCARD_1_0_0 { diff --git a/tests/data/test_update/remove_with_wildcard.stdout b/tests/data/test_update/remove_with_wildcard.stdout index 5677005..8cd8721 100644 --- a/tests/data/test_update/remove_with_wildcard.stdout +++ b/tests/data/test_update/remove_with_wildcard.stdout @@ -2,7 +2,7 @@ Removed: symbol Merging all symbols in a single new release -# This map file was automatically updated +# This map file was updated with smap WITH_WILDCARD_2_0_0 { diff --git a/tests/data/test_update/symbols.out b/tests/data/test_update/symbols.out index 24e2542..ea53a7b 100644 --- a/tests/data/test_update/symbols.out +++ b/tests/data/test_update/symbols.out @@ -1,4 +1,4 @@ -# This map file was automatically updated +# This map file was updated with smap LIBTC3_1_1_0 { diff --git a/tests/data/test_update/wildcard_warnings.outfile b/tests/data/test_update/wildcard_warnings.outfile index 9a90c73..dfc7f5a 100644 --- a/tests/data/test_update/wildcard_warnings.outfile +++ b/tests/data/test_update/wildcard_warnings.outfile @@ -1,4 +1,4 @@ -# This map file was automatically updated +# This map file was updated with smap SCOPES_2_0_0 {