diff options
author | Martin Messer <martin.messer@cyberus-technology.de> | 2022-04-07 16:28:20 +0200 |
---|---|---|
committer | Martin Messer <martin.messer@cyberus-technology.de> | 2023-12-07 16:38:48 +0100 |
commit | 17e88c2890068e944c61dbaf7493ae12417b8944 (patch) | |
tree | 8a6c526ab1391a63dc10a29d59d7539344ae9594 /pkgs/test/incrementalBuild/hello.patch | |
parent | 1cd6b7fdc37cdc7a4a31c87aa31e4ebf5ed930c8 (diff) | |
download | nixlib-17e88c2890068e944c61dbaf7493ae12417b8944.tar nixlib-17e88c2890068e944c61dbaf7493ae12417b8944.tar.gz nixlib-17e88c2890068e944c61dbaf7493ae12417b8944.tar.bz2 nixlib-17e88c2890068e944c61dbaf7493ae12417b8944.tar.lz nixlib-17e88c2890068e944c61dbaf7493ae12417b8944.tar.xz nixlib-17e88c2890068e944c61dbaf7493ae12417b8944.tar.zst nixlib-17e88c2890068e944c61dbaf7493ae12417b8944.zip |
checkpointedBuild: add checkpointed build test based on pkgs hello
Diffstat (limited to 'pkgs/test/incrementalBuild/hello.patch')
-rw-r--r-- | pkgs/test/incrementalBuild/hello.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/test/incrementalBuild/hello.patch b/pkgs/test/incrementalBuild/hello.patch new file mode 100644 index 000000000000..3d0d50c2f20e --- /dev/null +++ b/pkgs/test/incrementalBuild/hello.patch @@ -0,0 +1,26 @@ +diff --git a/src/hello.c b/src/hello.c +index 182303c..453962f 100644 +--- a/src/hello.c ++++ b/src/hello.c +@@ -57,7 +57,7 @@ main (int argc, char *argv[]) + #endif + + /* Having initialized gettext, get the default message. */ +- greeting_msg = _("Hello, world!"); ++ greeting_msg = _("Hello, incremental world!"); + + /* Even exiting has subtleties. On exit, if any writes failed, change + the exit status. The /dev/full device on GNU/Linux can be used for +diff --git a/tests/hello-1 b/tests/hello-1 +index 3b7a815..e15fa95 100755 +--- a/tests/hello-1 ++++ b/tests/hello-1 +@@ -21,7 +21,7 @@ export LANGUAGE LC_ALL LC_MESSAGES LANG + + tmpfiles="hello-test1.ok" + cat <<EOF > hello-test1.ok +-Hello, world! ++Hello, incremental world! + EOF + + tmpfiles="$tmpfiles hello-test1.out" |